21 May
2020
21 May
'20
5:43 p.m.
On Thu, May 21, 2020 at 10:44:34PM +0800, Hui Wang wrote:
The machine driver module and codec driver module don't have dependency, it is possible that the machine driver is loaded ahead of the codec driver, then the register_card() will fail and return EPROBE_DEFER, in this case the driver should not print error log since this is not a real failure.
This isn't helpful to people who are trying to figure out why the driver isn't loading - if we silently fail then the user will struggle to determine what the problem that causes their driver to fail to bind is.