summaryrefslogtreecommitdiff
path: root/board/kunimitsu
diff options
context:
space:
mode:
authorli feng <li1.feng@intel.com>2015-11-13 10:55:37 -0800
committerchrome-bot <chrome-bot@chromium.org>2015-11-18 17:03:56 -0800
commit93760af711a283eb165158c4b9063465b96cb3ca (patch)
treea96a5a6ba96e86db6667604ae6896f1a4b1db3ef /board/kunimitsu
parent420099f74976b3af1f4b24dc24b9fec461b1037b (diff)
downloadchrome-ec-93760af711a283eb165158c4b9063465b96cb3ca.tar.gz
mec1322: i2c: clear specified status bits
In handle_interrupt(), "|= 1 << 29" will clears all status bits, not just bit 29. Fix this to make it only clear specified status bit and keep R/W bits intact. BUG=None BRANCH=None TEST=Verified on Kunimitus system 1. In configure_controller() write R/W bits in completion register 2. In handle_interrupt() print the value of completion register and status bits is cleared, R/W bits are kept. Change-Id: I6a9cc17b3dfc1e163af5e56a80600afb8ac23247 Signed-off-by: li feng <li1.feng@intel.com> Reviewed-on: https://chromium-review.googlesource.com/312701 Commit-Ready: Divya Jyothi <divya.jyothi@intel.com> Tested-by: Divya Jyothi <divya.jyothi@intel.com> Tested-by: Li1 Feng <li1.feng@intel.com> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/kunimitsu')
0 files changed, 0 insertions, 0 deletions