diff options
author | Pavan Savoy <pavan_savoy@ti.com> | 2011-12-15 10:38:20 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-04 15:21:03 -0800 |
commit | bfb88d6c91a2cf507ff7763ebec94d72b4c98b07 (patch) | |
tree | ddb098bbb0ee412d6121d2e22061850d602b0a30 /block/blk-lib.c | |
parent | 1ff97647f066aef72ae68042c9abc4a837a12e6d (diff) | |
download | op-kernel-dev-bfb88d6c91a2cf507ff7763ebec94d72b4c98b07.zip op-kernel-dev-bfb88d6c91a2cf507ff7763ebec94d72b4c98b07.tar.gz |
drivers:misc: ti-st: protect registrations
Concurrent access to UART2/combo-interface by multiple protocol drivers such
as BT, FM and GPS caused issues during firmware download failure cases or
cases when the firmware download took longer than usual.
This was because of un-safe access to protos_registered & st_states.
Protecting this will also make the registration complete callback un-safe for
sleep.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions