aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>2025-08-25 10:28:34 +0200
committerYury Norov <yury.norov@gmail.com>2025-09-02 20:06:47 -0400
commit3d1ef6e4a154460cb75aacc4d3b77f7212b3c542 (patch)
treecf62c65d189deabd6d04fdff97d232c49e443feb /rust/helpers/helpers.c
parentdrm/rockchip: dw_hdmi: switch to FIELD_PREP_WM16* macros (diff)
downloadwireguard-linux-3d1ef6e4a154460cb75aacc4d3b77f7212b3c542.tar.xz
wireguard-linux-3d1ef6e4a154460cb75aacc4d3b77f7212b3c542.zip
ASoC: rockchip: i2s-tdm: switch to FIELD_PREP_WM16_CONST macro
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>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions