summaryrefslogtreecommitdiffstats
path: root/drivers/char/adi.c
diff options
context:
space:
mode:
authorEvan Nimmo <evan.nimmo@alliedtelesis.co.nz>2020-09-09 08:32:47 +1200
committerWolfram Sang <wsa@kernel.org>2020-09-09 10:22:40 +0200
commit0a355aeb24081e4538d4d424cd189f16c0bbd983 (patch)
tree1b60d8759866b80c55351986b16f9b6ad9695d98 /drivers/char/adi.c
parent0065ec0054be8da664ac0830bb887dd7574ed251 (diff)
downloadlinux-0a355aeb24081e4538d4d424cd189f16c0bbd983.tar.gz
linux-0a355aeb24081e4538d4d424cd189f16c0bbd983.tar.bz2
linux-0a355aeb24081e4538d4d424cd189f16c0bbd983.zip
i2c: algo: pca: Reapply i2c bus settings after reset
If something goes wrong (such as the SCL being stuck low) then we need to reset the PCA chip. The issue with this is that on reset we lose all config settings and the chip ends up in a disabled state which results in a lock up/high CPU usage. We need to re-apply any configuration that had previously been set and re-enable the chip. Signed-off-by: Evan Nimmo <evan.nimmo@alliedtelesis.co.nz> Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/char/adi.c')
0 files changed, 0 insertions, 0 deletions