Skip to content
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

drivers/spi: stm32: Revert while loop on tx only #35661

Merged
merged 1 commit into from
May 26, 2021

Conversation

affrinpinhero-2356
Copy link
Contributor

@affrinpinhero-2356 affrinpinhero-2356 commented May 26, 2021

This commit reverted while loop on tx only.
This commit solves SPI loopback failure and SPI wrong behaviour on RX.

fix:

Revert "drivers/spi: STM32: This solves SPI infinite loop on Tranceive"

This reverts commit 50c2acb.

Signed-off-by: Affrin Pinhero affrin.pinhero@hcl.com

@github-actions github-actions bot added area: SPI SPI bus platform: STM32 ST Micro STM32 labels May 26, 2021
Copy link
Collaborator

@ABOSTM ABOSTM left a comment

Choose a reason for hiding this comment

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

Commit message should contains your signed-off
Otherwise LGTM

Copy link
Member

@erwango erwango left a comment

Choose a reason for hiding this comment

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

Please fix commit title. For instance:
"drivers/spi: stm32: Revert while loop on tx only"

Also please don't abuse of github references:
"This commit will solve issue created after #34731.
This commit removes all th regression that caused due to commit #34731."
It's good to add links but it should be done in addition to explicit comments.

@affrinpinhero-2356 affrinpinhero-2356 changed the title driver/spi: STM32 Solves regressions added in #34731 drivers/spi: stm32: Revert while loop on tx only May 26, 2021
@affrinpinhero-2356
Copy link
Contributor Author

Please fix commit title. For instance:
"drivers/spi: stm32: Revert while loop on tx only"

Also please don't abuse of github references:
"This commit will solve issue created after #34731.
This commit removes all th regression that caused due to commit #34731."
It's good to add links but it should be done in addition to explicit comments.

okay.

@affrinpinhero-2356 affrinpinhero-2356 force-pushed the spiBugFix-#34731 branch 4 times, most recently from e3a7aa2 to 74ccbc7 Compare May 26, 2021 10:05
This commit reverted while loop on tx only.
This commit solves SPI loopback failure and SPI wrong behaviour on RX.
fix:
* zephyrproject-rtos#35297
* zephyrproject-rtos#35539

Revert "drivers/spi: STM32: This solves SPI infinite loop on Tranceive"

This reverts commit 50c2acb.

Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
Copy link
Collaborator

@ABOSTM ABOSTM left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: SPI SPI bus platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants