Re: [PATCH] pinctrl: imx: do not implicitly set pin regs to -1

From: Linus Walleij
Date: Mon Mar 09 2015 - 12:18:14 EST

On Fri, Feb 6, 2015 at 5:30 PM, Stefan Agner <stefan@xxxxxxxx> wrote:

> Commit 3dac1918a491 ("pinctrl: imx: detect uninitialized pins") needs
> the values in struct imx_pin_reg to be -1. This has been done in a
> rather unorthodox way by setting the memory to 0xff using memset...
> Use a proper for loop to initialize the whole array with -1.
> Signed-off-by: Stefan Agner <stefan@xxxxxxxx>

Patch applied with the ACKs.

Linus Walleij
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at