commit | 4e915003ffee8cf6ce532dbb3c49ccb42d97f2d2 | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@st.com> | Thu Aug 09 11:57:57 2018 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Sep 10 20:48:18 2018 -0400 |
tree | 2222d28647f2e02c00723af4d73412afb5673b6a | |
parent | 07f24772dfd19068307b4633db6c8bb5d9d66f98 [diff] |
gpio: stm32f7: replace ODR update by BSRR write Replace clrsetbits on ODR register (2 operations: one read + one write) by writing on the correct bit (SET or RESET) of the BSRR register (only 1 write operation). Moreover this register if safe for simultaneous access by 2 master on the bus. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>