Skip to content

NXP LPSPI Multi byte word formation incorrect #86930

@decsny

Description

@decsny

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 busbugThe issue is a bug, or the PR is fixing a bugplatform: NXP DriversNXP Semiconductors, driverspriority: lowLow impact/importance bug

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions