bcmdhd: fix possible deadlock during dhdsdio_probe() andn dhdsdio_release() 86/290786/3 accepted/tizen/unified/20230404.140026
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 3 Apr 2023 07:53:16 +0000 (16:53 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 3 Apr 2023 09:19:14 +0000 (18:19 +0900)
commitd96ff7ccd94334aca6f5b4a7daeb6cd91e340193
treeb2dfd8da4b770ec6a9140a06a0ae360a7e162987
parentcd03083b241058a6afa0ff3f211948b07a9ea2e5
bcmdhd: fix possible deadlock during dhdsdio_probe() andn dhdsdio_release()

Not only during probe but also during release, there is lock
inversion. Remove those lock inversions to fix possible deadlock.

Note: during dhdsdio_probe(), there is still lock inversion
missed from the commit cd03083b2410 ("bcmdhd: fix possible
deadlock during dhdsdio_probe()").

Change-Id: I8c1fb82c3ebaa7ccf58c1e01c94b1d005df42179
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/net/wireless/bcmdhd/dhd_sdio.c