dmaengine: cppi41: Fix channel queues array size check
authorGomonovych, Vasyl <gomonovych@gmail.com>
Thu, 21 Dec 2017 15:53:04 +0000 (16:53 +0100)
committerVinod Koul <vinod.koul@intel.com>
Fri, 22 Dec 2017 12:17:04 +0000 (17:47 +0530)
commit5a358f50c3cdeffc0ba877423295fd4e81f5b2bb
tree95d1962cdb6691add437ef579190747d7211e3f9
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
dmaengine: cppi41: Fix channel queues array size check

The test should be >= ARRAY_SIZE() instead of > ARRAY_SIZE().

Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/cppi41.c