Dynamically set AD5593R channel modes
Bug #1895612 reported by
AceLan Kao
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
| Focal |
In Progress
|
Medium
|
AceLan Kao | ||
Bug Description
[Impact]
On Advantech UNO-420 development platform, we need a generic way to set the pin mode.
Upstream would like us to leverage ACPI override method to change the modes, but in Ubuntu core, we can't generate a new initramfs and boot up with the generated initramfs.
[Fix]
Add a module parameter to assign pin modes while loading ad5593r driver.
[Test]
Verified on Advantech UNO-420 platform.
[Regression Potential]
It checks the length of the passed parameter, and checks every bytes
in it to make sure it's a valid argument. There should be no index out
of range issue, and no wrong pin mode would be set.
| Changed in linux (Ubuntu Focal): | |
| assignee: | nobody → AceLan Kao (acelankao) |
| Changed in linux (Ubuntu): | |
| status: | New → Invalid |
| Changed in linux (Ubuntu Focal): | |
| status: | New → In Progress |
| description: | updated |
| description: | updated |
| description: | updated |
| Changed in linux (Ubuntu Focal): | |
| importance: | Undecided → Medium |
| description: | updated |
| tags: | added: kernel-daily-bug |
To post a comment you must log in.
