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-6.7-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm

Pull pwm fixes from Thierry Reding:
"This contains two very small fixes that I failed to include in the
main pull request"

* tag 'pwm/for-6.7-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm:
pwm: Fix double shift bug
pwm: samsung: Fix a bit test in pwm_samsung_resume()

+3 -3
+1 -1
drivers/pwm/pwm-samsung.c
··· 631 631 struct pwm_device *pwm = &chip->pwms[i]; 632 632 struct samsung_pwm_channel *chan = &our_chip->channel[i]; 633 633 634 - if (!(pwm->flags & PWMF_REQUESTED)) 634 + if (!test_bit(PWMF_REQUESTED, &pwm->flags)) 635 635 continue; 636 636 637 637 if (our_chip->variant.output_mask & BIT(i))
+2 -2
include/linux/pwm.h
··· 41 41 }; 42 42 43 43 enum { 44 - PWMF_REQUESTED = 1 << 0, 45 - PWMF_EXPORTED = 1 << 1, 44 + PWMF_REQUESTED = 0, 45 + PWMF_EXPORTED = 1, 46 46 }; 47 47 48 48 /*