Searched hist:"24906 a41" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pwm/ |
H A D | pwm-bcm-iproc.c | 24906a41 Thu Oct 17 14:22:18 CDT 2019 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> pwm: bcm-iproc: Prevent unloading the driver module while in use
The owner member of struct pwm_ops must be set to THIS_MODULE to increase the reference count of the module such that the module cannot be removed while its code is in use.
Fixes: daa5abc41c80 ("pwm: Add support for Broadcom iProc PWM controller") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com> 24906a41 Thu Oct 17 14:22:18 CDT 2019 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> pwm: bcm-iproc: Prevent unloading the driver module while in use The owner member of struct pwm_ops must be set to THIS_MODULE to increase the reference count of the module such that the module cannot be removed while its code is in use. Fixes: daa5abc41c80 ("pwm: Add support for Broadcom iProc PWM controller") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
|