@@ -573,7 +573,8 @@ static int cy8c95x0_gpio_direction_input(struct gpio_chip *gc, unsigned int off)
573
573
ret = regmap_write_bits (chip -> regmap , CY8C95X0_DRV_HIZ , bit , bit );
574
574
if (ret )
575
575
goto out ;
576
- clear_bit (off , chip -> push_pull );
576
+
577
+ __clear_bit (off , chip -> push_pull );
577
578
}
578
579
579
580
out :
@@ -775,27 +776,27 @@ static int cy8c95x0_gpio_set_pincfg(struct cy8c95x0_pinctrl *chip,
775
776
776
777
switch (param ) {
777
778
case PIN_CONFIG_BIAS_PULL_UP :
778
- clear_bit (off , chip -> push_pull );
779
+ __clear_bit (off , chip -> push_pull );
779
780
reg = CY8C95X0_DRV_PU ;
780
781
break ;
781
782
case PIN_CONFIG_BIAS_PULL_DOWN :
782
- clear_bit (off , chip -> push_pull );
783
+ __clear_bit (off , chip -> push_pull );
783
784
reg = CY8C95X0_DRV_PD ;
784
785
break ;
785
786
case PIN_CONFIG_BIAS_DISABLE :
786
- clear_bit (off , chip -> push_pull );
787
+ __clear_bit (off , chip -> push_pull );
787
788
reg = CY8C95X0_DRV_HIZ ;
788
789
break ;
789
790
case PIN_CONFIG_DRIVE_OPEN_DRAIN :
790
- clear_bit (off , chip -> push_pull );
791
+ __clear_bit (off , chip -> push_pull );
791
792
reg = CY8C95X0_DRV_ODL ;
792
793
break ;
793
794
case PIN_CONFIG_DRIVE_OPEN_SOURCE :
794
- clear_bit (off , chip -> push_pull );
795
+ __clear_bit (off , chip -> push_pull );
795
796
reg = CY8C95X0_DRV_ODH ;
796
797
break ;
797
798
case PIN_CONFIG_DRIVE_PUSH_PULL :
798
- set_bit (off , chip -> push_pull );
799
+ __set_bit (off , chip -> push_pull );
799
800
reg = CY8C95X0_DRV_PP_FAST ;
800
801
break ;
801
802
case PIN_CONFIG_MODE_PWM :
0 commit comments