Skip to content

spi: wait for end of transfer before returning from spi_transfer() #1312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

ABOSTM
Copy link
Contributor

@ABOSTM ABOSTM commented Mar 2, 2021

Summary
spi: wait for end of transfer before returning from spi_transfer()

This guarantee to application that transfer is finished,
and avoid for example that application releases NSS pin
while transfer is still ongoing.

This guarantee to application that transfer is finished,
and avoid for example that application releases NSS pin
while transfer is still ongoing.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
@ABOSTM ABOSTM force-pushed the SPI_WAIT_END_OF_TRANSFER branch from dc448f0 to ee91fcc Compare March 2, 2021 16:12
@ABOSTM ABOSTM force-pushed the SPI_WAIT_END_OF_TRANSFER branch 2 times, most recently from 9828c20 to ee91fcc Compare March 10, 2021 11:04
Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fpistm fpistm added the fix 🩹 Bug fix label Mar 10, 2021
@fpistm fpistm added this to the 2.0.0 milestone Mar 10, 2021
@fpistm fpistm merged commit 3bcd490 into stm32duino:master Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 🩹 Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants