diff --git a/[refs] b/[refs] index 53b9cdc2abba..027a3a7ac671 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 52e3124f248e9ada990cd2aeafe250a53713c6f0 +refs/heads/master: c63bcc6ff135397b38cdb510c173e4a6629cede5 diff --git a/trunk/drivers/sh/pfc.c b/trunk/drivers/sh/pfc.c index 75934e3ea34e..de5e3d65a6fa 100644 --- a/trunk/drivers/sh/pfc.c +++ b/trunk/drivers/sh/pfc.c @@ -217,7 +217,7 @@ static int get_config_reg(struct pinmux_info *gpioc, pinmux_enum_t enum_id, if (!r_width) break; - for (n = 0; n < (r_width / f_width) * 1 << f_width; n++) { + for (n = 0; n < (r_width / f_width) * (1 << f_width); n++) { if (config_reg->enum_ids[n] == enum_id) { *crp = config_reg; *indexp = n;