mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
pinctrl: single: search for the bits property when parsing bits
The pcs_parse_bits_in_pinctrl_entry function should search for the "pinctrl-single,bits" and not "pinctrl-single,pins" Signed-off-by: Axel Haslam <ahaslam@baylibre.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
de7416bcee
commit
dd68a526c7
@ -1223,7 +1223,7 @@ static int pcs_parse_bits_in_pinctrl_entry(struct pcs_device *pcs,
|
||||
unsigned *num_maps,
|
||||
const char **pgnames)
|
||||
{
|
||||
const char *name = "pinctrl-single,pins";
|
||||
const char *name = "pinctrl-single,bits";
|
||||
struct pcs_func_vals *vals;
|
||||
int rows, *pins, found = 0, res = -ENOMEM, i;
|
||||
int npins_in_row;
|
||||
|
Loading…
Reference in New Issue
Block a user