]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
eeprom: digsy_mtc: Fix 93xx46 driver probe failure
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 8 May 2024 18:46:55 +0000 (21:46 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Sep 2024 17:24:07 +0000 (19:24 +0200)
commitcb735cf79aa1f32ad64293d0713dda4009e760c0
tree9ca988430fb06618cf3c4a050fc27021862241a1
parent7853c146f8b45107bea25dcc1870c4dc3a042540
eeprom: digsy_mtc: Fix 93xx46 driver probe failure

[ Upstream commit 2b82641ad0620b2d71dc05024b20f82db7e1c0b6 ]

The update to support other (bigger) types of EEPROMs broke
the driver loading due to removal of the default size.

Fix this by adding the respective (new) flag to the platform data.

Fixes: 14374fbb3f06 ("misc: eeprom_93xx46: Add new 93c56 and 93c66 compatible strings")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240508184905.2102633-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/misc/eeprom/digsy_mtc_eeprom.c