android_kernel_motorola_sm6375/drivers/memstick
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kai-Heng Feng de21eb7f8c memstick: Skip allocating card when removing host
commit 62c59a8786e6bb75569cee91dab66e9da3ff4b68 upstream.

After commit 6827ca573c ("memstick: rtsx_usb_ms: Support runtime power
management"), removing module rtsx_usb_ms will be stuck.

The deadlock is caused by powering on and powering off at the same time,
the former one is when memstick_check() is flushed, and the later is called
by memstick_remove_host().

Soe let's skip allocating card to prevent this issue.

Fixes: 6827ca573c ("memstick: rtsx_usb_ms: Support runtime power management")
Signed-off-by: Kai-Heng Feng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-10-07 08:01:25 +02:00
..
core memstick: Skip allocating card when removing host 2020-10-07 08:01:25 +02:00
host
Kconfig
Makefile