summaryrefslogtreecommitdiff
path: root/drivers/watchdog/mt7621_wdt.c
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2020-04-22 10:13:54 -0600
committerHeiko Schocher <hs@denx.de>2020-05-28 05:50:47 +0200
commitf6f9a016899e62cb65016421a09fd3fe06ce660f (patch)
tree7299dc642a1add52341f36fbae4c008dbf8e1dcf /drivers/watchdog/mt7621_wdt.c
parentbcf08503f571553074a4e9563977225446c183fa (diff)
i2c: designware_i2c: Check if the device is powered
If the device doesn't return a version that means the device is non-functional. The dw_i2c_regs had invalid offsets for the version field. I got the correct value from the DesignWare databook. It also matches what the Picasso PPR says. Signed-off-by: Raul E Rangel <rrangel@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Tested on chromebook_coral: Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/watchdog/mt7621_wdt.c')
0 files changed, 0 insertions, 0 deletions