summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorEvan Nimmo <evan.nimmo@alliedtelesis.co.nz>2020-09-09 08:32:47 +1200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-23 08:44:26 +0200
commit19fadc7cfc8533064c422c7e02a1b3fbf83e31ea (patch)
tree8cbd1bbccdbfab130afb67b85c7d7acb78104870 /net/lapb/lapb_timer.c
parent4b4d8e0e9f89cc75ed09fbcd43f1353f71325743 (diff)
i2c: algo: pca: Reapply i2c bus settings after reset
[ Upstream commit 0a355aeb24081e4538d4d424cd189f16c0bbd983 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions