-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Update and fixup the SPI #10476
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
Update and fixup the SPI #10476
Conversation
Signed-off-by: GuEe-GUI <[email protected]>
May the bus is a QSPI, we should check the mode before alloc the SPI device. The raw API the SPI mode default but the SPI DM bus probe run before the SPI mode confirm, we should move the SPI register API alone, then confirm the bus mode before register. Signed-off-by: GuEe-GUI <[email protected]>
📌 Code Review Assignment🏷️ Tag: componentsPath: Changed Files (Click to expand)
🏷️ Tag: driver_spiPath: Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2025-07-10 04:17 UTC)
📝 Review Instructions
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- result 得定义成 rt_ssize_t 类型,其他ok
The result could < 0 (with error number) now. Signed-off-by: GuEe-GUI <[email protected]>
Signed-off-by: GuEe-GUI <[email protected]>
@wdfk-prog @Rbb666 对 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM |
拉取/合并请求描述:(PR description)
[
]
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0
代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up