Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: <[email protected]> Cc: Ritesh Raj Sarraf <[email protected]> Cc: Alan Stern <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
- Loading branch information