Re: [PATCH 02/20] mmc: dw_mmc-rockchip: switch to HWORD_UPDATE macro

2025-06-16 Thread Ulf Hansson
On Thu, 12 Jun 2025 at 20:57, Nicolas Frattaroli wrote: > > The era of hand-rolled HIWORD_UPDATE macros is over, at least for those > drivers that use constant masks. > > Switch to the new HWORD_UPDATE macro in bitfield.h, which has error > checking. Instead of redefining the driver's HIWORD_UPDAT

[PATCH 02/20] mmc: dw_mmc-rockchip: switch to HWORD_UPDATE macro

2025-06-12 Thread Nicolas Frattaroli
The era of hand-rolled HIWORD_UPDATE macros is over, at least for those drivers that use constant masks. Switch to the new HWORD_UPDATE macro in 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