Commit bd62888
arch/arm/src/samv7: enable GPIO clock even if interrupt not enabled
GPIO peripheral clocks have to be enabled even if interrupt support
on the peripheral is not enabled, otherwise GPIO input will not work.
This is probably caused by input filters that need clock signal.
This commit moves the clock enable call from interrupt specific function
to common initialization function that is called from _start entry
point function.
Signed-off-by: Michal Lenc <[email protected]>1 parent 2cee5c0 commit bd62888
3 files changed
+18
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
471 | 472 | | |
472 | 473 | | |
473 | 474 | | |
474 | | - | |
475 | | - | |
476 | 475 | | |
477 | 476 | | |
| 477 | + | |
| 478 | + | |
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
481 | 482 | | |
482 | 483 | | |
483 | | - | |
484 | 484 | | |
485 | 485 | | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
486 | 501 | | |
487 | 502 | | |
488 | 503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
269 | | - | |
270 | 268 | | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | 269 | | |
275 | 270 | | |
276 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
235 | 234 | | |
236 | 235 | | |
237 | 236 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | 237 | | |
243 | 238 | | |
244 | 239 | | |
| |||
253 | 248 | | |
254 | 249 | | |
255 | 250 | | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | 251 | | |
261 | 252 | | |
262 | 253 | | |
| |||
271 | 262 | | |
272 | 263 | | |
273 | 264 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | 265 | | |
279 | 266 | | |
280 | 267 | | |
| |||
289 | 276 | | |
290 | 277 | | |
291 | 278 | | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | 279 | | |
297 | 280 | | |
298 | 281 | | |
| |||
307 | 290 | | |
308 | 291 | | |
309 | 292 | | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | 293 | | |
315 | 294 | | |
316 | 295 | | |
| |||
0 commit comments