diff options
author | Aidan MacDonald <aidanmacdonald.0x0@gmail.com> | 2022-10-23 17:33:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-10-26 16:18:16 +0300 |
commit | b355ebebb17c438b90c3d339f38a79559f7259df (patch) | |
tree | 60c6b2c94aab73f4e00fa9e750a3be3aee48fa51 /block | |
parent | 0fddb4bce669fd255f6ffade6905da5c8ed3e254 (diff) | |
download | linux-b355ebebb17c438b90c3d339f38a79559f7259df.tar.xz |
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions