summaryrefslogtreecommitdiff
path: root/rust/helpers/dma.c
diff options
context:
space:
mode:
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>2025-08-25 10:28:22 +0200
committerYury Norov <yury.norov@gmail.com>2025-09-02 19:59:37 -0400
commit47975a878c06691dc9658f0680f850a2d45c9f83 (patch)
tree1299030a3ba01dfbe3021e29595e42cce0d667d7 /rust/helpers/dma.c
parent21368fcbb124d51b5d8bd8fa0a286a23c34a0888 (diff)
mmc: dw_mmc-rockchip: switch to FIELD_PREP_WM16 macro
The era of hand-rolled HIWORD_UPDATE macros is over, at least for those drivers that use constant masks. Switch to the new FIELD_PREP_WM16 macro in hw_bitfield.h, which has error checking. Instead of redefining the driver's HIWORD_UPDATE macro in this case, replace the two only instances of it with the new macro, as I could test that they result in an equivalent value. Acked-by: Ulf Hansson <ulf.hansson@linaro.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/dma.c')
0 files changed, 0 insertions, 0 deletions