linux/sound/soc/jz4740
Aidan MacDonald b355ebebb1
ASoC: jz4740-i2s: Use FIELD_PREP() macros in hw_params callback
Get rid of a couple of macros and improve readability by using
FIELD_PREP() and GENMASK() for the sample size setting.

Acked-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Link: https://lore.kernel.org/r/20221023143328.160866-5-aidanmacdonald.0x0@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-10-26 14:18:16 +01:00
..
jz4740-i2s.c ASoC: jz4740-i2s: Use FIELD_PREP() macros in hw_params callback 2022-10-26 14:18:16 +01:00
jz4740-i2s.h ASoc: Fix unused define in jz4740-i2s.h 2021-05-10 13:05:36 +01:00
Kconfig ASoC: jz4740-i2s: Convert to regmap API 2022-10-26 14:18:14 +01:00
Makefile ASoC: jz4740: Drop lb60 board code 2019-07-30 10:41:53 -07:00