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:
Tao Huang
2022-08-09 11:02:59 +08:00
parent d7dca09d85
commit 902b7efac3

View File

@@ -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;