diff options
author | 2016-09-27 08:44:33 -0700 | |
---|---|---|
committer | 2016-10-17 15:42:25 +0200 | |
commit | 31cf742f515c275d22843c4c756e048d2b6d716c (patch) | |
tree | cc4a62e30d760b0d528d3e5ec443cd2c18f1d16a /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | mmc: sdhci: cast unsigned int to unsigned long long to avoid unexpeted error (diff) | |
download | linux-dev-31cf742f515c275d22843c4c756e048d2b6d716c.tar.xz linux-dev-31cf742f515c275d22843c4c756e048d2b6d716c.zip |
mmc: rtsx_usb_sdmmc: Avoid keeping the device runtime resumed when unused
The rtsx_usb_sdmmc driver may bail out in its ->set_ios() callback when no
SD card is inserted. This is wrong, as it could cause the device to remain
runtime resumed when it's unused. Fix this behaviour.
Tested-by: Ritesh Raj Sarraf <rrs@researchut.com>
Cc: <stable@vger.kernel.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions