Support setting I2C_TIMEOUT via ioctl for i2c-designware
Bug #1718578 reported by
Kai-Heng Feng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Kai-Heng Feng | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU Justification
[Impact]
The timeout value in i2c-designware is hardcoded. Userspace tool may want to change the timeout value via ioctl I2C_TIMEOUT, but it doesn't work for i2c-designware.
[Test Case]
Change the timeout value via ioctl I2C_TIMEOUT. Nothing happened.
With the patch, timeout value for i2c-designware will be updated correctly.
[Regression Potential]
Minimal. The change only applies to a specific driver, i2c-designware. Also, it has minimal code change.
CVE References
no longer affects: | subiquity (Ubuntu) |
Changed in linux (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in hwe-next: | |
status: | New → Fix Released |
To post a comment you must log in.
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1718578
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.