summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/hwregs.c
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2014-06-15 02:41:48 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-07 12:54:03 +0200
commit9b80f0f73ae1583c22325ede341c74195847618c (patch)
treea3360379990e269775cbd8b8aa0d42bb18f0abb5 /drivers/acpi/acpica/hwregs.c
parentACPI / EC: Add asynchronous command byte write support (diff)
downloadlinux-9b80f0f73ae1583c22325ede341c74195847618c.tar.xz
linux-9b80f0f73ae1583c22325ede341c74195847618c.zip
ACPI / EC: Remove duplicated ec_wait_ibf0() waiter
After we've added the first command byte write into advance_transaction(), the IBF=0 waiter is duplicated with the command completion waiter implemented in the ec_poll() because: If IBF=1 blocked the first command byte write invoked in the task context ec_poll(), it would be kicked off upon IBF=0 interrupt or timed out and retried again in the task context. Remove this seperate and duplicate IBF=0 waiter. By doing so we can reduce the overall number of times to access the EC_SC(R) status register. Link: https://bugzilla.kernel.org/show_bug.cgi?id=70891 Link: https://bugzilla.kernel.org/show_bug.cgi?id=63931 Link: https://bugzilla.kernel.org/show_bug.cgi?id=59911 Reported-and-tested-by: Gareth Williams <gareth@garethwilliams.me.uk> Reported-and-tested-by: Hans de Goede <jwrdegoede@fedoraproject.org> Reported-by: Barton Xu <tank.xuhan@gmail.com> Tested-by: Steffen Weber <steffen.weber@gmail.com> Tested-by: Arthur Chen <axchen@nvidia.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Cc: All applicable <stable@vger.kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/hwregs.c')
0 files changed, 0 insertions, 0 deletions