mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user