Comment 0 for bug 1980750

Revision history for this message
Asmaa Mnebhi (asmaam) wrote : pwr-mlxbf.c: Improve driver dependencies

[Fix]

* Instead of using SOFTDEP, return -EPROBE_DEFER if the gpio-mlxbf2.c driver is not loaded yet.
* Flush work when driver is removed.

[Test Case]

* Test case only valid on Board with BMC on it:
* Make sure driver is loaded and no errors in dmesg.
* issue a power reset from the BMC via IPMI.

[Regression Potential]

Any of the test cases above could be impacted due to these changes.