]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
eeprom: at24: make spd world-readable again
authorJean Delvare <jdelvare@suse.de>
Sun, 28 Jul 2019 16:41:38 +0000 (18:41 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Sun, 28 Jul 2019 16:49:20 +0000 (18:49 +0200)
commit25e5ef302c24a6fead369c0cfe88c073d7b97ca8
treeea06e33f3214aa932ac455fca5cc4f44b3da41dc
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
eeprom: at24: make spd world-readable again

The integration of the at24 driver into the nvmem framework broke the
world-readability of spd EEPROMs. Fix it.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: stable@vger.kernel.org
Fixes: 57d155506dd5 ("eeprom: at24: extend driver to plug into the NVMEM framework")
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/misc/eeprom/at24.c