Re: [PATCH V2 1/5] misc: eeprom: at24: Initialise AT24 NVMEM ID field

2020-09-24 Thread Bartosz Golaszewski
On Thu, Sep 24, 2020 at 3:14 PM Bartosz Golaszewski wrote: > > On Wed, Sep 16, 2020 at 11:50 AM Jon Hunter wrote: > > > > The AT24 EEPROM driver does not initialise the 'id' field of the > > nvmem_config structure and because the entire structure is not > > initialised, it ends up with a random v

Re: [PATCH V2 1/5] misc: eeprom: at24: Initialise AT24 NVMEM ID field

2020-09-24 Thread Bartosz Golaszewski
On Wed, Sep 16, 2020 at 11:50 AM Jon Hunter wrote: > > The AT24 EEPROM driver does not initialise the 'id' field of the > nvmem_config structure and because the entire structure is not > initialised, it ends up with a random value. This causes the NVMEM > driver to append the device 'devid' value

[PATCH V2 1/5] misc: eeprom: at24: Initialise AT24 NVMEM ID field

2020-09-16 Thread Jon Hunter
The AT24 EEPROM driver does not initialise the 'id' field of the nvmem_config structure and because the entire structure is not initialised, it ends up with a random value. This causes the NVMEM driver to append the device 'devid' value to name of the NVMEM device. Ideally for I2C devices such as t