Re: clarifying i2c_get_chip_for_busnum()

2024-08-21 Thread Simon Glass
Hi Quentin, On Wed, 21 Aug 2024 at 02:19, Quentin Schulz wrote: > > Hi Simon, > > On 8/21/24 4:11 AM, Simon Glass wrote: > > Hi, > > > > On Tue, 20 Aug 2024 at 07:34, Quentin Schulz > > wrote: > >> > >> Hi, > >> > >> On 8/20/24 3:01 PM, Sahaj Sarup wrote: > >>> [You don't often get email from s

Re: clarifying i2c_get_chip_for_busnum()

2024-08-21 Thread Quentin Schulz
Hi Simon, On 8/21/24 4:11 AM, Simon Glass wrote: Hi, On Tue, 20 Aug 2024 at 07:34, Quentin Schulz wrote: Hi, On 8/20/24 3:01 PM, Sahaj Sarup wrote: [You don't often get email from sahaj.sa...@linaro.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] On Tu

Re: clarifying i2c_get_chip_for_busnum()

2024-08-20 Thread Simon Glass
Hi, On Tue, 20 Aug 2024 at 07:34, Quentin Schulz wrote: > > Hi, > > On 8/20/24 3:01 PM, Sahaj Sarup wrote: > > [You don't often get email from sahaj.sa...@linaro.org. Learn why this is > > important at https://aka.ms/LearnAboutSenderIdentification ] > > > > On Tue, 20 Aug 2024 at 17:21, Quentin

Re: clarifying i2c_get_chip_for_busnum()

2024-08-20 Thread Quentin Schulz
Hi, On 8/20/24 3:01 PM, Sahaj Sarup wrote: [You don't often get email from sahaj.sa...@linaro.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] On Tue, 20 Aug 2024 at 17:21, Quentin Schulz wrote: Hi, On 8/20/24 11:12 AM, Sahaj Sarup wrote: [You don't ofte

Re: clarifying i2c_get_chip_for_busnum()

2024-08-20 Thread Sahaj Sarup
On Tue, 20 Aug 2024 at 17:21, Quentin Schulz wrote: > > Hi, > > On 8/20/24 11:12 AM, Sahaj Sarup wrote: > > [You don't often get email from sahaj.sa...@linaro.org. Learn why this is > > important at https://aka.ms/LearnAboutSenderIdentification ] > > > > Hi, > > > > In `include/i2c.h` , the udevi

Re: clarifying i2c_get_chip_for_busnum()

2024-08-20 Thread Quentin Schulz
Hi, On 8/20/24 11:12 AM, Sahaj Sarup wrote: [You don't often get email from sahaj.sa...@linaro.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Hi, In `include/i2c.h` , the udevice pointer and return value definition seems to be confusing. ``` /** * i2c_g

clarifying i2c_get_chip_for_busnum()

2024-08-20 Thread Sahaj Sarup
Hi, In `include/i2c.h` , the udevice pointer and return value definition seems to be confusing. ``` /** * i2c_get_chip_for_busnum() - get a device to use to access a chip on . . . * @devp: Returns pointer to new device if found or -ENODEV if not * found */ ``` Should this instead be: ``` *