Commit c923e77
ASoC: cs42l43: Add shared IRQ flag for shutters
The microphone and speaker shutters on cs42l43 can be configured to
trigger from the same GPIO, in this case the current code returns an
error as we attempt to request two IRQ handlers for the same IRQ. Fix
this by always requesting the shutter IRQs with the IRQF_SHARED flag.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230915144300.120100-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent b19a573 commit c923e77
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2077 | 2077 | | |
2078 | 2078 | | |
2079 | 2079 | | |
2080 | | - | |
| 2080 | + | |
| 2081 | + | |
2081 | 2082 | | |
2082 | 2083 | | |
2083 | 2084 | | |
| |||
2087 | 2088 | | |
2088 | 2089 | | |
2089 | 2090 | | |
2090 | | - | |
2091 | | - | |
| 2091 | + | |
| 2092 | + | |
2092 | 2093 | | |
2093 | 2094 | | |
2094 | 2095 | | |
| |||
2124 | 2125 | | |
2125 | 2126 | | |
2126 | 2127 | | |
2127 | | - | |
| 2128 | + | |
2128 | 2129 | | |
2129 | 2130 | | |
2130 | 2131 | | |
2131 | | - | |
| 2132 | + | |
2132 | 2133 | | |
2133 | 2134 | | |
2134 | 2135 | | |
| |||
2178 | 2179 | | |
2179 | 2180 | | |
2180 | 2181 | | |
2181 | | - | |
| 2182 | + | |
| 2183 | + | |
2182 | 2184 | | |
2183 | 2185 | | |
2184 | 2186 | | |
| |||
0 commit comments