Skip to content

Conversation

TomoYamanaka
Copy link
Contributor

Description

I change SPI driver a bit for matching policy with other Renesas drivers.

If the specified frequency exceeds the upper limit and lower limit at SPI driver, an error is output, but this does not match policy with other renesas drivers. Thus I change the processing as follows.

  • If "hz" is maximum over, it is rounded by the maximum value.
  • If "hz" is minimum under, it is rounded by the minimum value.

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change

If the specified frequency exceeds the upper limit and lower limit at SPI driver, an error is output, but this does not match policy with other renesas drivers. Thus I revises the processing as follows.
- If "hz" is maximum over, it is rounded by the maximum value.
- If "hz" is minimum under, it is rounded by the minimum value.
@cmonr cmonr requested a review from a team October 11, 2018 15:21
@cmonr cmonr removed the request for review from a team October 11, 2018 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants