]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: most: remove aim reset
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 28 Sep 2015 15:18:31 +0000 (17:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:18:49 +0000 (03:18 +0200)
This patch partly reverts a modification of function most_stop_channel()
that is trying to reset an established link between an AIM and an HDM in
all suitable places. But since the function most_stop_channel() is
stopping the data transfer it is the wrong place to do so.

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

index eb4e1593887560d414f94058fbd858b7af98ca28..5d996285fdeeee3806beb1acf2c5e6a81cfed94e 100644 (file)
@@ -1555,11 +1555,6 @@ int most_stop_channel(struct most_interface *iface, int id)
        if (!c->is_started)
                return 0;
 
-       /* FIXME: we need to know calling AIM to reset only one link */
-       c->first_aim = NULL;
-       c->second_aim = NULL;
-       /* do not go into recursion calling aim->disconnect_channel */
-
        mutex_lock(&c->stop_task_mutex);
        if (c->hdm_enqueue_task)
                kthread_stop(c->hdm_enqueue_task);