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

spi/spi-bcm2708: respect per-transfer SPI clock speed_hz value #6

Merged
merged 1 commit into from
Oct 28, 2012
Merged

spi/spi-bcm2708: respect per-transfer SPI clock speed_hz value #6

merged 1 commit into from
Oct 28, 2012

Conversation

kamalmostafa
Copy link

The bcm2708 SPI driver's bcm2708_process_transfer() was ignoring the
per-transfer speed_hz value even when it was provided (it always just
used the spi device's max_speed_hz value). Now, per-transfer speed_hz
values are respected.

Also added debug print to bcm2708_setup_state() to help keep an eye on
the configured SPI parameters.

Signed-off-by: Kamal Mostafa [email protected]

The bcm2708 SPI driver's bcm2708_process_transfer() was ignoring the
per-transfer speed_hz value even when it was provided (it always just
used the spi device's max_speed_hz value).  Now, per-transfer speed_hz
values are respected.

Also added debug print to bcm2708_setup_state() to help keep an eye on
the configured SPI parameters.

Signed-off-by: Kamal Mostafa <[email protected]>
bootc added a commit that referenced this pull request Oct 28, 2012
spi/spi-bcm2708: respect per-transfer SPI clock speed_hz value
@bootc bootc merged commit c58d10e into bootc:rpi-3.2.27 Oct 28, 2012
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.

2 participants