staging: most: fix race conditions
commitfa96b8ed9cc562827b27181de7285c8fba54f395
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 22 Dec 2015 09:53:04 +0000 (22 10:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (7 17:34 -0800)
tree92e2881c60691a343905d7216be1c2a79d8da25f
parentd8b082e6c625cba59ecfb80e4506c8f30bed24ea
staging: most: fix race conditions

This patch fixes race conditions that might emerge from functions
aim_open, aim_close, aim_read, aim_write and aim_disconnect_channel
within module cdev.

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