linux/drivers/memstick/host
Ulf Hansson b9836e6a0b memstick: rtsx_usb_ms: Manage runtime PM when accessing the device
commit 9158cb29e7 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: Ben Hutchings <ben@decadent.org.uk>
History 2017-02-23 03:54:16 +00:00
..
jmb38x_ms.c drivers/memstick/host/jmb38x_ms: convert to module_pci_driver 2013-07-03 16:08:06 -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 tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
r592.h Fix common misspellings 2011-03-31 11:26:23 -03:00
rtsx_pci_ms.c drivers/memstick/host/rtsx_pci_ms.c: add cancel_work when remove driver 2014-06-23 16:47:44 -07:00
rtsx_usb_ms.c memstick: rtsx_usb_ms: Manage runtime PM when accessing the device 2017-02-23 03:54:16 +00:00
tifm_ms.c memstick: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:19 +08:00