On Wed, Aug 27, 2025 at 04:38:46PM +0530, Bhimeswararao Matsa wrote:

> Signed-off-by: Bhimeswararao Matsa <bhimeswararao.ma...@gmail.com>
> ---
>  drivers/i2c/davinci_i2c.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/i2c/davinci_i2c.c b/drivers/i2c/davinci_i2c.c
> index 9bba0600e3e..ffd0dd0b282 100644
> --- a/drivers/i2c/davinci_i2c.c
> +++ b/drivers/i2c/davinci_i2c.c
> @@ -51,7 +51,7 @@ static int _wait_for_bus(struct i2c_regs *i2c_base)
>               }
>  
>               REG(&(i2c_base->i2c_stat)) = stat;
> -             udelay(50000);
> +             mdelay(50);
>       }
>  
>       REG(&(i2c_base->i2c_stat)) = 0xffff;

What is the reason for this change? mdelay(x) is just an inline udelay(x * 1000)

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to