aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorMichael Walle <[email protected]>2022-04-18 13:26:50 +0200
committerPratyush Yadav <[email protected]>2022-06-27 15:42:10 +0530
commit77d4ac6d38487c2ab2688335b2a904469f5b16a4 (patch)
tree9f4357f5aad40df17a37ace7c2cdb92a82e76c35 /lib/netdev-notifier-error-inject.c
parent03c765b0e3b4cb5063276b086c76f7a612856a9a (diff)
mtd: spi-nor: move SECT_4K_PMC special handling
The SECT_4K_PMC flag will set a device specific opcode for the 4k sector erase. Instead of handling it in the core, we can move it to a late_init(). In that late init, loop over all erase types, look for the 4k size and replace the opcode. Signed-off-by: Michael Walle <[email protected]> Signed-off-by: Pratyush Yadav <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions