Skip to content

Fix I2S issues with bcm2835-dma #1160

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 2 commits into from
Oct 11, 2015
Merged

Conversation

HiassofT
Copy link
Contributor

dreq setup was missing for slave transfers and for some (yet unknown) reason transfer sizes larger than 32k cause repated clicking on I2S soundcards.

These changes bring bcm2835-dma in line with bcm2708-dmaengine, but only limit cyclic lite transfers to 32k - other lite transfers can still use 64k-4.

See also discussion in #1153

ping @notro

Set dreq to slave_id if it is not set like in bcm2708-dmaengine.
Transfers larger than 32k cause repeated clicking with I2S soundcards.
The exact reason is yet unknown, so limit to 32k as bcm2708-dmaengine
did as an intermediate fix.
@HiassofT HiassofT mentioned this pull request Oct 11, 2015
@notro
Copy link
Contributor

notro commented Oct 11, 2015

Looks good, thanks @HiassofT

popcornmix added a commit that referenced this pull request Oct 11, 2015
Fix I2S issues with bcm2835-dma
@popcornmix popcornmix merged commit 6ca8664 into raspberrypi:rpi-4.2.y Oct 11, 2015
@HiassofT HiassofT deleted the dmafix branch October 11, 2015 12:54
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