[PATCH v3 3/4] mtd: rawnand: mtk: Add validity check for CE# pin setting
miquel.raynal at bootlin.com
Mon Jun 3 01:04:36 PDT 2019
On Tue, 2019-05-07 at 10:25:40 UTC, Xiaolei Li wrote:
> Currently, we only check how many CE# pins are set in device tree.
> But it should be necessary to check whether CE# pin setting is
> duplicated or if CE# pin index exceeds the maximum CE# number that
> controller supports.
> So, add validity check to avoid these invalid settings.
> Signed-off-by: Xiaolei Li <xiaolei.li at mediatek.com>
> Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
More information about the linux-mtd