]> git.baikalelectronics.ru Git - kernel.git/commit
[SUNSU]: Fix bogus locking in sunsu_change_mouse_baud()
authorDavid S. Miller <davem@davemloft.net>
Tue, 4 Oct 2005 00:37:27 +0000 (17:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Oct 2005 00:37:27 +0000 (17:37 -0700)
commita83a6dbad8e727aa4e35b675fc33686e49a3d526
treee8046592965a658370211f4068c1b9cdc5edb33e
parent3a5da6476d5cf748e01da55d40f7d6ec2ebf6717
[SUNSU]: Fix bogus locking in sunsu_change_mouse_baud()

The lock is not held when calling this function, so we
shouldn't drop then reacquire it.

Based upon a report from Jim MacBaine.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunsu.c