summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBhaumik Bhatt <bbhatt@codeaurora.org>2020-10-15 11:47:51 -0700
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2020-11-18 15:20:34 +0530
commit9b627c25e70816a5e1dca940444b5029065b4d60 (patch)
tree0efcda728f51d94fec8f65439802671348dc51c1 /scripts
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
downloadlinux-9b627c25e70816a5e1dca940444b5029065b4d60.tar.bz2
bus: mhi: core: Remove double locking from mhi_driver_remove()
There is double acquisition of the pm_lock from mhi_driver_remove() function. Remove the read_lock_bh/read_unlock_bh calls for pm_lock taken during a call to mhi_device_put() as the lock is acquired within the function already. This will help avoid a potential kernel panic. Fixes: 189ff97cca53 ("bus: mhi: core: Add support for data transfer") Reported-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions