i2c: i801: Centralize configuring non-block commands in i801_simple_transaction
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 16 Feb 2023 16:12:12 +0000 (17:12 +0100)
committerWolfram Sang <wsa@kernel.org>
Fri, 17 Feb 2023 21:11:37 +0000 (22:11 +0100)
commit24592482d2351071a05d782c9b2be20342e0d1d2
tree8afd2f70d5cf14bffad4742738daecb96d5b666d
parent63fd342fd121c3eea5ff209ec5fc0128214bb017
i2c: i801: Centralize configuring non-block commands in i801_simple_transaction

Currently configuring command register settings is distributed over multiple
functions. At first centralize this for non-block commands in
i801_simple_transaction().

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-i801.c