Commit 2d3f59c
scsi: ufs: core: Move __ufshcd_send_uic_cmd() outside host_lock
__ufshcd_send_uic_cmd() is wrapped by uic_cmd_mutex and its related
contexts are accessed within the section wrapped by uic_cmd_mutex. Thus,
wrapping with host_lock is redundant.
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
Link: https://lore.kernel.org/r/782ba5f26f0a96e58d85dff50751787d2d2a6b2b.1693790060.git.kwmad.kim@samsung.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chanwoo Lee <cw9316.lee@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 7df0b26 commit 2d3f59c
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2392 | 2392 | | |
2393 | 2393 | | |
2394 | 2394 | | |
2395 | | - | |
2396 | 2395 | | |
2397 | 2396 | | |
2398 | 2397 | | |
| |||
2419 | 2418 | | |
2420 | 2419 | | |
2421 | 2420 | | |
2422 | | - | |
2423 | 2421 | | |
2424 | 2422 | | |
2425 | 2423 | | |
| |||
2428 | 2426 | | |
2429 | 2427 | | |
2430 | 2428 | | |
2431 | | - | |
2432 | 2429 | | |
2433 | | - | |
2434 | 2430 | | |
2435 | 2431 | | |
2436 | 2432 | | |
| |||
4133 | 4129 | | |
4134 | 4130 | | |
4135 | 4131 | | |
4136 | | - | |
4137 | 4132 | | |
| 4133 | + | |
4138 | 4134 | | |
4139 | 4135 | | |
4140 | 4136 | | |
| |||
0 commit comments