staging: most: move call to disconnect_channel callback
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 22 Dec 2015 09:52:52 +0000 (10:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commit44fe57818b8038ece1d6089c5075a5c73ad7e18a
treea7f3ebf759a51eab8a1c8b93974d51674b92f2b1
parentb7382d44a530cd8c1bc156ddc123e3f09ae68746
staging: most: move call to disconnect_channel callback

This patch invokes AIM's disconnect_channel callback before the
corresponding pointers are re-initialized to NULL.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/mostcore/core.c