diff options
| author | Hans de Goede <[email protected]> | 2017-01-22 16:14:08 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2017-01-30 08:36:42 +0000 |
| commit | b526a314263ea217b8fa9758dca5dc245fd49997 (patch) | |
| tree | 33bc36f29bee3acf277fded5b5d30513d16bfd53 /drivers/pwm/pwm-imx.c | |
| parent | pwm: Don't hold pwm_lookup_lock longer than necessary (diff) | |
| download | kernel-b526a314263ea217b8fa9758dca5dc245fd49997.tar.gz kernel-b526a314263ea217b8fa9758dca5dc245fd49997.zip | |
pwm: Try to load modules during pwm_get()
Add a module name string to the pwm_lookup struct and if specified try
to load the module using request_module() if pwmchip_find_by_name() is
unable to find the PWM chip.
This is a last resort to work around drivers that can't - and can't be
made to - deal with deferred probe.
Signed-off-by: Hans de Goede <[email protected]>
[[email protected]: rename new macro, reword commit message]
[[email protected]: add comment explaining use-case]
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-imx.c')
0 files changed, 0 insertions, 0 deletions
