diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2016-09-28 11:33:28 -0700 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-10-17 15:43:05 +0200 |
commit | 9158cb29e7c2f10dd325eb1589f0fe745a271257 (patch) | |
tree | 0e2f95e5c6323a1453b7270bc11602f779b5920f /drivers/hwmon | |
parent | 796aa46adf1d90eab36ae06a42e6d3f10b28a75c (diff) | |
download | linux-9158cb29e7c2f10dd325eb1589f0fe745a271257.tar.bz2 |
memstick: rtsx_usb_ms: Manage runtime PM when accessing the device
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: <stable@vger.kernel.org>
Cc: Ritesh Raj Sarraf <rrs@researchut.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions