Commit 5f71477
committed
pinctrl: baytrail: Avoid clearing debounce value when turning it off
Baytrail pin control has a common register to set up debounce timeout.
When a pin configuration requested debounce to be disabled, the rest
of the pins may still want to have debounce enabled and thus rely on
the common timeout value. Avoid clearing debounce value when turning
it off for one pin while others may still use it.
Fixes: 658b476 ("pinctrl: baytrail: Add debounce configuration")
Depends-on: 04ff5a0 ("pinctrl: baytrail: Rectify debounce support")
Depends-on: 827e157 ("pinctrl: baytrail: Rectify debounce support (part 2)")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>1 parent 03a61f1 commit 5f71477
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
1052 | | - | |
1053 | 1052 | | |
1054 | 1053 | | |
1055 | 1054 | | |
| |||
1058 | 1057 | | |
1059 | 1058 | | |
1060 | 1059 | | |
| 1060 | + | |
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
| 1064 | + | |
1064 | 1065 | | |
1065 | 1066 | | |
1066 | 1067 | | |
| 1068 | + | |
1067 | 1069 | | |
1068 | 1070 | | |
1069 | 1071 | | |
| 1072 | + | |
1070 | 1073 | | |
1071 | 1074 | | |
1072 | 1075 | | |
| 1076 | + | |
1073 | 1077 | | |
1074 | 1078 | | |
1075 | 1079 | | |
| 1080 | + | |
1076 | 1081 | | |
1077 | 1082 | | |
1078 | 1083 | | |
| 1084 | + | |
1079 | 1085 | | |
1080 | 1086 | | |
1081 | 1087 | | |
| |||
0 commit comments