diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2019-10-15 22:09:00 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-18 19:10:29 +0200 |
commit | 0e4b8717578e05ec6aa6d51939e6dc746f3198e9 (patch) | |
tree | c9e8ed5c6f11f5bf086fe168962c89e6f8dfefbf /sound/soc/codecs/tas2562.h | |
parent | ASoC: rt1011: Read and apply r0 and temperature device property (diff) | |
download | linux-0e4b8717578e05ec6aa6d51939e6dc746f3198e9.tar.xz linux-0e4b8717578e05ec6aa6d51939e6dc746f3198e9.zip |
ASoC: tas2562: Fix misuse of GENMASK macro
Arguments are supposed to be ordered high then low.
Fixes: c173dba44c2d ("ASoC: tas2562: Introduce the TAS2562 amplifier")
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20191015200900.25798-1-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tas2562.h')
-rw-r--r-- | sound/soc/codecs/tas2562.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tas2562.h b/sound/soc/codecs/tas2562.h index 60f2bb1d198b..62e659ab786d 100644 --- a/sound/soc/codecs/tas2562.h +++ b/sound/soc/codecs/tas2562.h @@ -62,7 +62,7 @@ #define TAS2562_TDM_CFG2_RIGHT_JUSTIFY BIT(6) -#define TAS2562_TDM_CFG2_RXLEN_MASK GENMASK(0, 1) +#define TAS2562_TDM_CFG2_RXLEN_MASK GENMASK(1, 0) #define TAS2562_TDM_CFG2_RXLEN_16B 0x0 #define TAS2562_TDM_CFG2_RXLEN_24B BIT(0) #define TAS2562_TDM_CFG2_RXLEN_32B BIT(1) |