staging: vt6655: [BUG] Protect MACvSelectPage1 with lock.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 11 Jan 2015 10:26:12 +0000 (10:26 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jan 2015 03:45:35 +0000 (19:45 -0800)
commit95775d12219285d6e0116acb6267864582cd01ef
tree24aa44a150f966331ba196eea7ca79f0d7a98d9a
parentbc22b4978d06e270372dc243f9341d921346f35a
staging: vt6655: [BUG] Protect MACvSelectPage1 with lock.

The device must not flip to page 1 while in interrupt lock causing
loss of connection or dead lock.

Protect from changes to page by adding lock where user can
change the page in CARDvSetRSPINF, vnt_configure and set_channel

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/card.c
drivers/staging/vt6655/channel.c
drivers/staging/vt6655/device_main.c