-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Labels
area: SPISPI busSPI busbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXP DriversNXP Semiconductors, driversNXP Semiconductors, driverspriority: lowLow impact/importance bugLow impact/importance bug
Milestone
Description
Describe the bug
For NXP LPSPI interrupt based driver
The TX word formation for multi-byte words is wrong due to a typo that does not increment the byte pointer
There is a resource leak of the spi context in the transceive function due to not releasing upon error
To Reproduce
This was found by visual inspection of the code
Expected behavior
Expect proper error handling in transceive function and incrementing the byte pointer in the tx fill function
Impact
Unknown, affects multi byte word applications at least for sure
Environment (please complete the following information):
- OS: (e.g. Linux, MacOS, Windows)
- Toolchain (e.g Zephyr SDK, ...)
- Commit SHA or Version used
Additional context
Metadata
Metadata
Assignees
Labels
area: SPISPI busSPI busbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXP DriversNXP Semiconductors, driversNXP Semiconductors, driverspriority: lowLow impact/importance bugLow impact/importance bug