mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 17:17:04 -04:00
Merge tag 'pwm/for-5.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
Pull pwm fix from Thierry Reding: "One more fix to keep a reference to the driver's module as long as there are users of the PWM exposed by the driver" * tag 'pwm/for-5.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: pwm: bcm-iproc: Prevent unloading the driver module while in use
This commit is contained in:
@@ -187,6 +187,7 @@ static int iproc_pwmc_apply(struct pwm_chip *chip, struct pwm_device *pwm,
|
||||
static const struct pwm_ops iproc_pwm_ops = {
|
||||
.apply = iproc_pwmc_apply,
|
||||
.get_state = iproc_pwmc_get_state,
|
||||
.owner = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int iproc_pwmc_probe(struct platform_device *pdev)
|
||||
|
||||
Reference in New Issue
Block a user