Re: [PATCH] i2c: i2c-stm32f7: rework slave_id allocation
From: Wolfram Sang
Date: Thu Oct 24 2019 - 14:35:29 EST
On Tue, Oct 15, 2019 at 03:03:09PM +0200, Alain Volmat wrote:
> The IP can handle two slave addresses. One address can either be
> 7 bits or 10 bits while the other can only be 7 bits.
> In order to ensure that a 10 bits address can always be allocated
> (assuming there is only one 7 bits address already allocated),
> pick up the 7-bits only address slot in priority when performing a 7-bits
> address allocation.
>
> Fixes: 60d609f3 ("i2c: i2c-stm32f7: Add slave support")
>
> Signed-off-by: Alain Volmat <alain.volmat@xxxxxx>
Applied to for-next, thanks!
Attachment:
signature.asc
Description: PGP signature