lkml.org 
[lkml]   [2021]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v5 1/4] mtd: rawnand: nand_bbt: hide suspend/resume hooks while scanning bbt
    Date
    On Tue, 2021-11-02 at 11:02:01 UTC, Sean Nyekjaer wrote:
    > From: Boris Brezillon <boris.brezillon@collabora.com>
    >
    > The BBT scan logic use the MTD helpers before the MTD layer had a
    > chance to initialize the device, and that leads to issues when
    > accessing the uninitialized suspend lock. Let's temporarily set the
    > suspend/resume hooks to NULL to skip the lock acquire/release step.
    >
    > Tested-by: Sean Nyekjaer <sean@geanix.com>
    > Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
    > Signed-off-by: Sean Nyekjaer <sean@geanix.com>

    Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

    Miquel

    \
     
     \ /
      Last update: 2021-11-19 19:36    [W:4.012 / U:0.340 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site