commit | 00bc6d0b8431b01836951145f7cd12791e63e7a4 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Fri Jul 30 15:20:16 2021 +0800 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Tue Aug 03 11:53:16 2021 +0530 |
tree | 59dee3a07f5a988e9c64e104b11e202fefcffbe7 | |
parent | 475be5a1221dbeccae09b788f110d7f5e32b7a0a [diff] |
mtd: spi-nor: Respect flash's hwcaps in spi_nor_adjust_hwcaps() The smart spi_nor_adjust_hwcaps() does not respect the SPI flash's hwcaps, and only looks to the controller on what can be supported. The flash's hwcaps needs to be AND'ed before checking. Fixes: 71025f013ccb ("mtd: spi-nor-core: Rework hwcaps selection") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Pratyush Yadav <p.yadav@ti.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>