mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-17 06:39:37 +02:00
eeprom: digsy_mtc: Fix 93xx46 driver probe failure
[ Upstream commit2b82641ad0
] 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:14374fbb3f
("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>
This commit is contained in:
parent
7853c146f8
commit
cb735cf79a
|
@ -42,7 +42,7 @@ static void digsy_mtc_op_finish(void *p)
|
|||
}
|
||||
|
||||
struct eeprom_93xx46_platform_data digsy_mtc_eeprom_data = {
|
||||
.flags = EE_ADDR8,
|
||||
.flags = EE_ADDR8 | EE_SIZE1K,
|
||||
.prepare = digsy_mtc_op_prepare,
|
||||
.finish = digsy_mtc_op_finish,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user