Re: [PATCH v2 04/10] i2c: i801: add helper i801_set_hstadd()

Wolfram Sang
2023-02-12T21:12:14Z

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

On Mon, Dec 19, 2022 at 07:16:08PM +0100, Heiner Kallweit wrote:
> Factor out setting SMBHSTADD to a helper. The current code makes the
> assumption that constant I2C_SMBUS_READ has bit 0 set, that's not ideal.
> Therefore let the new helper explicitly check for I2C_SMBUS_READ.
>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

Applied to for-next, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]