Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pwm/for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm

Pull pwm fixes from Thierry Reding:
"This contains two one-line fixes for issues that were introduced in
v4.9-rc1"

* tag 'pwm/for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm:
pwm: Fix device reference leak
pwm: meson: Add missing spin_lock_init()

+3
+1
drivers/pwm/pwm-meson.c
··· 474 474 if (IS_ERR(meson->base)) 475 475 return PTR_ERR(meson->base); 476 476 477 + spin_lock_init(&meson->lock); 477 478 meson->chip.dev = &pdev->dev; 478 479 meson->chip.ops = &meson_pwm_ops; 479 480 meson->chip.base = -1;
+2
drivers/pwm/sysfs.c
··· 425 425 if (test_bit(PWMF_EXPORTED, &pwm->flags)) 426 426 pwm_unexport_child(parent, pwm); 427 427 } 428 + 429 + put_device(parent); 428 430 } 429 431 430 432 static int __init pwm_sysfs_init(void)