lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 22 Mar 2024 09:35:38 -0500
From: Bjorn Andersson <andersson@...nel.org>
To: Wolfram Sang <wsa+renesas@...g-engineering.com>
Cc: linux-i2c@...r.kernel.org, Konrad Dybcio <konrad.dybcio@...aro.org>, 
	Andi Shyti <andi.shyti@...nel.org>, linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 44/64] i2c: qup: reword according to newest specification

On Fri, Mar 22, 2024 at 02:25:37PM +0100, Wolfram Sang wrote:
> Match the wording of this driver wrt. the newest I2C v7, SMBus 3.2, I3C
> specifications and replace "master/slave" with more appropriate terms.
> They are also more specific because we distinguish now between a remote
> entity ("client") and a local one ("target").
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@...g-engineering.com>

Reviewed-by: Bjorn Andersson <andersson@...nel.org>

Regards,
Bjorn

> ---
>  drivers/i2c/busses/i2c-qup.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c
> index 598102d16677..2aeb5c33a711 100644
> --- a/drivers/i2c/busses/i2c-qup.c
> +++ b/drivers/i2c/busses/i2c-qup.c
> @@ -380,7 +380,7 @@ static int qup_i2c_poll_state_mask(struct qup_i2c_dev *qup,
>  	u32 state;
>  
>  	/*
> -	 * State transition takes 3 AHB clocks cycles + 3 I2C master clock
> +	 * State transition takes 3 AHB clocks cycles + 3 I2C host clock
>  	 * cycles. So retry once after a 1uS delay.
>  	 */
>  	do {
> @@ -1607,12 +1607,12 @@ static u32 qup_i2c_func(struct i2c_adapter *adap)
>  }
>  
>  static const struct i2c_algorithm qup_i2c_algo = {
> -	.master_xfer	= qup_i2c_xfer,
> +	.xfer	= qup_i2c_xfer,
>  	.functionality	= qup_i2c_func,
>  };
>  
>  static const struct i2c_algorithm qup_i2c_algo_v2 = {
> -	.master_xfer	= qup_i2c_xfer_v2,
> +	.xfer	= qup_i2c_xfer_v2,
>  	.functionality	= qup_i2c_func,
>  };
>  
> -- 
> 2.43.0
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ