Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 4e302c3b authored by Diego Santa Cruz's avatar Diego Santa Cruz Committed by Bartosz Golaszewski
Browse files

misc: eeprom: at24: fix NVMEM name with custom AT24 device name

When the "label" property is set on the AT24 EEPROM the NVMEM devid is
set to NVMEM_DEVID_NONE, but it is not effective since there is a
leftover line setting it back to NVMEM_DEVID_AUTO a few lines after.

Fixes: 61f764c3

 ("eeprom: at24: Support custom device names for AT24 EEPROMs")
Signed-off-by: default avatarDiego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent 3650b228
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment