commit | 27af9a9b937cde23ab618751d35e6a5adfca3811 | [log] [tgz] |
---|---|---|
author | Konstantin Dorfman <kdorfman@codeaurora.org> | Sun Aug 02 17:06:18 2015 +0300 |
committer | Xiaonian Wang <xiaonian@codeaurora.org> | Fri Apr 07 17:29:30 2017 -0700 |
tree | 79c309caa805bfb73a90a75b5dd160e6adc07c6c | |
parent | 6a8c2868f492e2cc5fdc7c5fb299b01645e61805 [diff] |
mmc: cmdq_hci: fix platform device power management reference counting After issuing a request the usage_count is decremented. After idle time controller irq is disabled by platform device runtime pm and request complete irq is not handled. This change moves decrement of usage_count from the end of issuing request to the end of request completion. Change-Id: I1322e0d1ab4ffbf50956fec2921c778e0dcddf36 Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>