You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HDaudio probe: need to introduce workqueue to avoid deadlocks. #560
As explained by Takashi Iwai on the alsa-devel mailing list:
you shouldn't call request_module() in the driver's probe
callback. When the probe callback is called from the module loading,
it blocks the module loading itself, hence loading yet another module
can't work. A situation might be easier than the past (which
deadlocked), but still it's advised to use either the
request_module_nowait() with the callback or call request_module()
asynchronously from probe.
The request is to move init_caps to a work queue, and cancel it on remove.
Note that this will impact how hardware initialization issues are handled. We already know that errors on driver_probe happening when platform_device_register_data() is called will not be propagated, and the probe might actually be executed later. with a workqueue errors will be even harder to be made available to higher level PCI drivers.
Activity
plbossart commentedon Feb 8, 2019
fixed
drm/i915/dp_mst: Fix mst_mgr lookup during atomic check
Merge branch 'selftests/bpf: add coverage for xdp_features in test_pr…