summaryrefslogtreecommitdiffstats
path: root/security/yama
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-06-06 16:35:44 +0200
committerChris Ball <cjb@laptop.org>2013-06-06 11:48:04 -0400
commite83b7a8acc420923cbe8a30901d9eb60677f54fb (patch)
tree27784dc589543f97678574af7c529c0b6c473b2d /security/yama
parent19f1ba51c79f133aec3ce558b8292e3b081363f3 (diff)
downloadlinux-stable-e83b7a8acc420923cbe8a30901d9eb60677f54fb.tar.gz
linux-stable-e83b7a8acc420923cbe8a30901d9eb60677f54fb.tar.bz2
linux-stable-e83b7a8acc420923cbe8a30901d9eb60677f54fb.zip
mmc: tmio: fix unbalanced power-on calls with clock-gating enabled
With MMC clock gating enabled the MMC core currently calls MMC host driver's .set_ios() method with .power_mode == MMC_POWER_ON and the clock value set either to 0 or to the target rate. The tmio MMC driver then wrongly translates the latter calls to card slot power-on requests, even when the slot already was on. This patch fixes the driver to avoid needlessly incrementing power-supplying regulator's use count. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions