Re: [PATCH v3 1/3] mtd: spi-nor: introduce SR_BP_SHIFT define

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday, January 13, 2020 7:59:05 AM EET Jungseung Lee wrote:
> The shift variable of SR_BP is conclusive because the first bit of SR_BP
> is fixed on all known flashes.
> 
> Introduce SR_BP_SHIFT define and let them used by stm_* functions
> to replace ffs operation to get shift value.
> 
> Signed-off-by: Jungseung Lee <js07.lee@xxxxxxxxxxx>
> ---
>  drivers/mtd/spi-nor/spi-nor.c | 11 +++++------
>  include/linux/mtd/spi-nor.h   |  2 ++
>  2 files changed, 7 insertions(+), 6 deletions(-)

Applied to spi-nor/next. Thanks.

ta


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux