commit | 1a62668cefdb0f8930e5ac47196abe51365ad76f | [log] [tgz] |
---|---|---|
author | Sven Peter <sven@svenpeter.dev> | Fri Oct 08 18:35:28 2021 +0200 |
committer | Wolfram Sang <wsa@kernel.org> | Mon Oct 11 11:45:21 2021 +0200 |
tree | 6d7dc565bb41ee959b32f2ca738ea1cca94de3ac | |
parent | 9bc5f4f660ff3e37113847d749d43fafbadec629 [diff] |
i2c: pasemi: Move common reset code to own function Split out common reset call to its own function so that we can later add support for selecting the clock frequency and an additional enable bit found in newer revisions. Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sven Peter <sven@svenpeter.dev> Acked-by: Olof Johansson <olof@lixom.net> Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de> Signed-off-by: Wolfram Sang <wsa@kernel.org>