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

i.MX93 uSDHC #252

Closed
wants to merge 2 commits into from
Closed

i.MX93 uSDHC #252

wants to merge 2 commits into from

Conversation

jpaali
Copy link

@jpaali jpaali commented May 3, 2024

Summary

Impact

Testing

@jpaali jpaali requested review from pussuw and jlaitine May 3, 2024 10:11
/* Save the source buffer information for use by the interrupt handler */

#if !defined(CONFIG_ARM64_DCACHE_DISABLE)
priv->unaligned_rx = false;
Copy link

Choose a reason for hiding this comment

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

This looks odd, why set the unaligned_rx here in sendsetup?

Copy link
Author

Choose a reason for hiding this comment

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

actually this is needed here.. clears the flag before a new transfer.

Copy link

Choose a reason for hiding this comment

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

Nope, this is dmasendsetup. The flag is correctly initialized in dmarecvsetup. This flag has nothing to do with dma sending.

Copy link
Author

@jpaali jpaali May 6, 2024

Choose a reason for hiding this comment

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

If I remove the flag DMA transfers fail :)

jpaali added 2 commits May 3, 2024 15:02
Signed-off-by: Jani Paalijarvi <[email protected]>
Fix a bug which causes that 1-bit mode is always selected.
This happens even if the driver sets SDIO_CAPS_4BIT capability
in case of the card and the host support 1- and 4-bit wide bus.

Signed-off-by: Jani Paalijarvi <[email protected]>
@jpaali jpaali marked this pull request as ready for review May 3, 2024 12:31
@jpaali
Copy link
Author

jpaali commented May 3, 2024

Did some code cleanup..

@jpaali
Copy link
Author

jpaali commented May 8, 2024

Closing this. We will take these and couple of other changes from the upstream.

@jpaali jpaali closed this May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants