dmaengine: at_hdmac: Use bitfield access macros
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 25 Oct 2022 09:03:02 +0000 (12:03 +0300)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Nov 2022 06:45:09 +0000 (12:15 +0530)
commitd8840a7edcf0aa840e175af17d61476a7dbc65f7
tree76bd54752931b96f295005f773c19bdaf9b8076e
parent5cecadc3e2a4fb72ab37d9420df0a9e1179b8a3e
dmaengine: at_hdmac: Use bitfield access macros

Use the bitfield access macros in order to clean and to make the driver
easier to read. One will see some "line length exceeds 100 columns"
checkpatch warnings. I chose to not introduce new lines for regs
descriptions in order to preserve the style of the comments throughout
the definitions. Style can be fixed in a further patch.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20221025090306.297886-1-tudor.ambarus@microchip.com
Link: https://lore.kernel.org/r/20221025090306.297886-29-tudor.ambarus@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/at_hdmac.c