Files
OpenCellular/chip
li feng 93760af711 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>
2015-11-18 17:03:56 -08:00
..