|
@@ -424,12 +424,6 @@ static int rockchip_set_pull(struct rockchip_pin_bank *bank,
|
|
|
|
|
|
switch (ctrl->type) {
|
|
|
case RK2928:
|
|
|
- if (pull != PIN_CONFIG_BIAS_PULL_PIN_DEFAULT &&
|
|
|
- pull != PIN_CONFIG_BIAS_DISABLE) {
|
|
|
- dev_err(info->dev, "only PIN_DEFAULT and DISABLE allowed\n");
|
|
|
- return -EINVAL;
|
|
|
- }
|
|
|
-
|
|
|
ctrl->pull_calc_reg(bank, pin_num, ®, &bit);
|
|
|
|
|
|
spin_lock_irqsave(&bank->slock, flags);
|