You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
misc: eeprom: at24: register nvmem only after eeprom is ready to use
During nvmem_register() the nvmem core sends notifications when:
- cell added
- nvmem added
and during these notifications some callback func may access the nvmem
device, which will fail in case of at24 eeprom because regulator and pm
are enabled after nvmem_register().
Fixes: cd5676d ("misc: eeprom: at24: support pm_runtime control")
Fixes: b20eb4c ("eeprom: at24: drop unnecessary label")
Cc: [email protected]
Signed-off-by: Vadym Kochan <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
0 commit comments