android_kernel_oneplus_msm8998/drivers/memstick/host
Ulf Hansson 8dc22842bd memstick: rtsx_usb_ms: Manage runtime PM when accessing the device
commit 9158cb29e7c2f10dd325eb1589f0fe745a271257 upstream.

Accesses to the rtsx usb device, which is the parent of the rtsx memstick
device, must not be done unless it's runtime resumed. This is currently not
the case and it could trigger various errors.

Fix this by properly deal with runtime PM in this regards. This means
making sure the device is runtime resumed, when serving requests via the
->request() callback or changing settings via the ->set_param() callbacks.

Cc: Ritesh Raj Sarraf <rrs@researchut.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-28 03:01:35 -04:00
..
jmb38x_ms.c memstick: remove deprecated use of pci api 2015-06-30 19:44:57 -07:00
Kconfig memstick: Add realtek USB memstick host driver 2014-04-28 11:02:46 +01:00
Makefile memstick: Add realtek USB memstick host driver 2014-04-28 11:02:46 +01:00
r592.c memstick: remove deprecated use of pci api 2015-06-30 19:44:57 -07:00
r592.h Fix common misspellings 2011-03-31 11:26:23 -03:00
rtsx_pci_ms.c memstick: host: drop owner assignment from platform_drivers 2014-10-20 16:20:53 +02:00
rtsx_usb_ms.c memstick: rtsx_usb_ms: Manage runtime PM when accessing the device 2016-10-28 03:01:35 -04:00
tifm_ms.c memstick: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:19 +08:00