]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: most: dim2-hdm: fix possible kernel freeze when reusing a dim2 channel
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 13 Jun 2016 14:24:25 +0000 (16:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 18:18:56 +0000 (20:18 +0200)
commit1c88f8ff4290fd348de1cf27d403e0fc86474007
tree4f7b73352c2b5c289699f98cac82b525113467fc
parent63c87669c4ffbe6fa2687b48a871b054a8267265
staging: most: dim2-hdm: fix possible kernel freeze when reusing a dim2 channel

If a DIM2 channel is being closed while it is busy, the channels's status
flag could possibly stay active for this very channel. This causes the
kernel to freeze by the time the channel is opened again.

This patch fixes the problem.

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/hdm-dim2/dim2_hal.c