lkml.org 
[lkml]   [2018]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 20/25] ARM: davinci: sffsdr: fix the at24 eeprom device name
    Date
    From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

    The currently used 24lc64 i2c device name doesn't match against any
    of the devices supported by the at24 driver. Change it to the closest
    compatible chip.

    Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
    ---
    arch/arm/mach-davinci/board-sffsdr.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/arm/mach-davinci/board-sffsdr.c b/arch/arm/mach-davinci/board-sffsdr.c
    index 792bb84d5011..acd9778ffa07 100644
    --- a/arch/arm/mach-davinci/board-sffsdr.c
    +++ b/arch/arm/mach-davinci/board-sffsdr.c
    @@ -100,7 +100,7 @@ static struct at24_platform_data eeprom_info = {

    static struct i2c_board_info __initdata i2c_info[] = {
    {
    - I2C_BOARD_INFO("24lc64", 0x50),
    + I2C_BOARD_INFO("24c64", 0x50),
    .platform_data = &eeprom_info,
    },
    /* Other I2C devices:
    --
    2.19.1
    \
     
     \ /
      Last update: 2018-11-13 15:03    [W:3.390 / U:1.704 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site