Dynamically set AD5593R channel modes

Bug #1895612 reported by AceLan Kao
6
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.

AceLan Kao (acelankao)
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
AceLan Kao (acelankao)
description: updated
AceLan Kao (acelankao)
description: updated
AceLan Kao (acelankao)
description: updated
Stefan Bader (smb)
Changed in linux (Ubuntu Focal):
importance: Undecided → Medium
AceLan Kao (acelankao)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.