]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmaengine: pl08x: use GENMASK() to create bitmasks
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 20 May 2017 21:42:54 +0000 (23:42 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 24 May 2017 04:14:33 +0000 (09:44 +0530)
commitfcc785417fba2dc81d2f6ba888caaff463f4f441
tree63d6e6e934bb3734c7de81efb276164671bb26eb
parent1e1cfc7213a37131a53e7dfada75dce77b8e043d
dmaengine: pl08x: use GENMASK() to create bitmasks

This switches the arbitrary shifting of hex constants in
the pl080 header to use GENMASK().

Suggested-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
include/linux/amba/pl080.h