mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
pinctrl: max96755f: Fix fall-through warning in max96755f_pinconf_get()
Fix the following fall-through warning: drivers/pinctrl/pinctrl-max96755f.c:123:6: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: Ib79fd9c76e4213709008a7d3102b9e2e033bf7d7
This commit is contained in:
parent
d7dca09d85
commit
902b7efac3
|
|
@ -122,6 +122,7 @@ static int max96755f_pinconf_get(struct pinctrl_dev *pctldev,
|
|||
case PIN_CONFIG_BIAS_DISABLE:
|
||||
if (FIELD_GET(PULL_UPDN_SEL, gpio_b_reg) != 0)
|
||||
return -EINVAL;
|
||||
break;
|
||||
case PIN_CONFIG_BIAS_PULL_UP:
|
||||
if (FIELD_GET(PULL_UPDN_SEL, gpio_b_reg) != 1)
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user