Skip to content

drivers: platform: ftd2xx : Fix FTD2XX library GPIO driver. #2601

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 1 commit into from
May 26, 2025

Conversation

RaduSabau1
Copy link
Collaborator

Pull Request Description

If another pin from the same port is being used, the pins direction won't be remembered, therefore fix this issue by having a global variable for it.

Also add global variable for values, since it encounters the same problem, especially when setting a new value for another pin, which can break the other pin values.

Fix : 5a9583a ("drivers: platform: ftd2xx : Add GPIO support for FTD2XX platform:)

PR Type

  • Bug fix (change that fixes an issue)
  • New feature (change that adds new functionality)
  • Breaking change (has dependencies in other repos or will cause CI to fail)

PR Checklist

  • I have followed the Coding style guidelines
  • I have complied with the Submission Checklist
  • I have performed a self-review of the changes
  • I have commented my code, at least hard-to-understand parts
  • I have build all projects affected by the changes in this PR
  • I have tested in hardware affected projects, at the relevant boards
  • I have signed off all commits from this PR
  • I have updated the documentation (wiki pages, ReadMe etc), if applies

@RaduSabau1 RaduSabau1 force-pushed the staging/ftd2xx_gpio_fix branch 2 times, most recently from 506fb6f to c151200 Compare May 19, 2025 12:30
If another pin from the same port is being used, the pins direction
won't be remembered, therefore fix this issue by having a global
variable for it.

Also add global variable for values, since it encounters the same
problem, especially when setting a new value for another pin, which
can break the other pin values.

Fix : 5a9583a ("drivers: platform: ftd2xx : Add GPIO support for FTD2XX platform:)
Signed-off-by: Radu Sabau <[email protected]>
@RaduSabau1 RaduSabau1 force-pushed the staging/ftd2xx_gpio_fix branch from c151200 to 8f1dc11 Compare May 19, 2025 12:33
@buha buha merged commit d4f12e1 into main May 26, 2025
14 checks passed
@buha buha deleted the staging/ftd2xx_gpio_fix branch May 26, 2025 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants