The era of hand-rolled HIWORD_UPDATE macros is over, at least for those drivers that use constant masks. Replace the implementation of this driver's HIWORD_UPDATE macro with an instance of FIELD_PREP_WM16_CONST. The const variant is chosen here because some of the header defines are then used in initializers. This gives us some compile-time error checking, while keeping the diff very small and easy to review. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| rk3288_hdmi_analog.c | ||
| rk3399_gru_sound.c | ||
| rockchip_i2s.c | ||
| rockchip_i2s.h | ||
| rockchip_i2s_tdm.c | ||
| rockchip_i2s_tdm.h | ||
| rockchip_max98090.c | ||
| rockchip_pdm.c | ||
| rockchip_pdm.h | ||
| rockchip_rt5645.c | ||
| rockchip_sai.c | ||
| rockchip_sai.h | ||
| rockchip_spdif.c | ||
| rockchip_spdif.h | ||