Commit fb75a37
HID: amd_sfh: Add functionality to clear interrupts
Newer AMD platforms with SFH may generate interrupts on some events
which are unwarranted. Until this is cleared the actual MP2 data
processing maybe stalled in some cases.
Add a mechanism to clear the pending interrupts (if any) during the
driver initialization and sensor command operations.
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>1 parent b300667 commit fb75a37
2 files changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
95 | 109 | | |
96 | 110 | | |
97 | 111 | | |
| |||
196 | 210 | | |
197 | 211 | | |
198 | 212 | | |
| 213 | + | |
199 | 214 | | |
200 | 215 | | |
201 | 216 | | |
202 | 217 | | |
203 | 218 | | |
204 | 219 | | |
205 | 220 | | |
| 221 | + | |
206 | 222 | | |
207 | 223 | | |
208 | 224 | | |
| |||
265 | 281 | | |
266 | 282 | | |
267 | 283 | | |
268 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
269 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
270 | 291 | | |
271 | 292 | | |
272 | 293 | | |
| |||
294 | 315 | | |
295 | 316 | | |
296 | 317 | | |
| 318 | + | |
297 | 319 | | |
298 | 320 | | |
299 | 321 | | |
| |||
318 | 340 | | |
319 | 341 | | |
320 | 342 | | |
| 343 | + | |
321 | 344 | | |
322 | 345 | | |
323 | 346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
0 commit comments