diff options
author | Tali Perry <tali.perry1@gmail.com> | 2022-05-25 06:23:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-17 16:14:27 +0300 |
commit | 261aeadc7be4414fd05d7617a8b086a8d32c943b (patch) | |
tree | 12f3dfc3fbf20eddfd413eb46b30000df0b264c6 /drivers/crypto | |
parent | 308d0d5d98c294b1185d6d7da60b268e0fe30193 (diff) | |
download | linux-261aeadc7be4414fd05d7617a8b086a8d32c943b.tar.xz |
i2c: npcm: Remove own slave addresses 2:10
[ Upstream commit 47d506d1a28fd10a9fb1f33df5622d88fae72095 ]
NPCM can support up to 10 own slave addresses. In practice, only one
address is actually being used. In order to access addresses 2 and above,
need to switch register banks. The switch needs spinlock.
To avoid using spinlock for this useless feature removed support of SA >=
2. Also fix returned slave event enum.
Remove some comment since the bank selection is not required. The bank
selection is not required since the supported slave addresses are reduced.
Fixes: 56a1485b102e ("i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver")
Signed-off-by: Tali Perry <tali.perry1@gmail.com>
Signed-off-by: Tyrone Ting <kfting@nuvoton.com>
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 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions