dmaengine: qcom_hidma: use true,false for bool variable

Fix the following coccicheck warning:

drivers/dma/qcom/hidma.c:553:1-17: WARNING: Assignment of 0/1 to bool
variable

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Acked By: Sinan Kaya <okaya@kernel.org>
Link: https://lore.kernel.org/r/20200504113406.41530-1-yanaijie@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
Jason Yan 2020-05-04 19:34:06 +08:00 коммит произвёл Vinod Koul
Родитель bd96f1b2f4
Коммит d24224dea5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -550,7 +550,7 @@ static void hidma_free_chan_resources(struct dma_chan *dmach)
kfree(mdesc);
}
mchan->allocated = 0;
mchan->allocated = false;
spin_unlock_irqrestore(&mchan->lock, irqflags);
}