Commit 022c8ee
drivers: gpio: ambiq: fix port status get error
It's not possible to get pinconfig of specific pin
in ambiq_gpio_port_get_raw function, change to use
OR value of RD and WT registers for one group of gpio.
Signed-off-by: Hao Luo <[email protected]>1 parent 4e5df11 commit 022c8ee
1 file changed
+1
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | 273 | | |
275 | 274 | | |
276 | 275 | | |
277 | 276 | | |
278 | | - | |
279 | | - | |
280 | 277 | | |
281 | 278 | | |
282 | | - | |
283 | | - | |
284 | 279 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
| 280 | + | |
289 | 281 | | |
290 | 282 | | |
291 | 283 | | |
| |||
0 commit comments