summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/smp.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-09-18 09:33:08 +0200
committerVinod Koul <vinod.koul@intel.com>2013-10-07 07:41:39 +0530
commitc95905a6a36858122afe1c334eba64499b39d7a2 (patch)
tree1f98979430da6498536d935e52a763bdcd1262fa /arch/powerpc/kernel/smp.c
parent717d818169e5d5672fb81bc7357e9bb265d1e228 (diff)
downloadblackbird-op-linux-c95905a6a36858122afe1c334eba64499b39d7a2.tar.gz
blackbird-op-linux-c95905a6a36858122afe1c334eba64499b39d7a2.zip
DMA: ste_dma40: use a power of 2 check
dst_addr_width and src_addr_width should be a power of 2. Currently the driver checks, that they both lie between 1 and 8 and that they are equal to 1 or even. This however leaves an invalid value of 6 uncaught. Use an explicit power of 2 check instead. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> [typo fix on changelog] Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/powerpc/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud