mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
The ATMEL_TC_ETRGEDG_* defines are not masks but rather possible values
for CMR. This patch fixes the action_get() callback to properly check
for these values rather than mask them.
Fixes: 106b104137 ("counter: Add microchip TCB capture counter")
Signed-off-by: William Breathitt Gray <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Acked-by: Kamel Bouhara <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>