Re: [PATCH RFT 1/2] i2c: tegra-bpmp: don't modify input variable in xlate_flags

From: Thierry Reding
Date: Thu Apr 01 2021 - 13:44:04 EST


On Wed, Mar 31, 2021 at 09:51:40AM +0200, Wolfram Sang wrote:
> Since commit bc1c2048abbe ("i2c: bpmp-tegra: Ignore unknown I2C_M
> flags") we don't need to mask out flags and can keep the input variable
> as is to save quite some lines.
>
> Signed-off-by: Wolfram Sang <wsa@xxxxxxxxxx>
> ---
> drivers/i2c/busses/i2c-tegra-bpmp.c | 32 ++++++++---------------------
> 1 file changed, 8 insertions(+), 24 deletions(-)

I've applied this to my local development tree and ran this on Tegra194,
didn't see any issues, so:

Tested-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature