Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pwm: samsung: Fix a bit test in pwm_samsung_resume()
The PWMF_REQUESTED enum is supposed to be used with test_bit() and not used as in a bitwise AND. In this specific code the flag will never be set so the function is effectively a no-op. Fixes: e3fe982 ("pwm: samsung: Put per-channel data into driver data") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Uwe Kleine-König <[email protected]> Reviewed-by: Sam Protsenko <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
- Loading branch information