• Brian Norris's avatar
    mtd: m25p80: assign default read command · 99ed1a16
    Brian Norris authored
    In the following commit (in -next):
    
        commit 8552b439
        drivers: mtd: m25p80: convert "bool" read check into an enum
    
    We converted the boolean 'fast_read' property to become an enum
    'flash_read', but at the same time, we changed the conditional path so
    that it doesn't choose a default value in some cases (technically, we
    choose the correct default simply by virtue of devm_kzalloc(), which
    zeroes this out to be a NORMAL read operation, but still...).
    
    Fix this by setting a default for the 'else' clause.
    Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
    Cc: Sourav Poddar <sourav.poddar@ti.com>
    Acked-by: default avatarMarek Vasut <marex@denx.de>
    99ed1a16
m25p80.c 37.3 KB