MLK-21274-1 gpu/imx: lcdif: set 'dma_mask' for client devices
authorFancy Fang <chen.fang@nxp.com>
Wed, 27 Mar 2019 11:28:41 +0000 (19:28 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit6bd418356fde8e30db72d7a26b4996d992383dbf
treebd8888fbf16285b763e43a3691510cc111631843
parent758f2589f70497cb0c44c126b357062e5a0ac387
MLK-21274-1 gpu/imx: lcdif: set 'dma_mask' for client devices

Since the client devices are allocated manually in this driver,
its 'dma_mask' will not be initialized before its probe start,
and this will cause the dma configure for the client devices to
give a warning message "DMA mask not set". So make 'dma_mask' to
point to its 'coherent_dma_mask' by default to avoid this warnning.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
drivers/gpu/imx/lcdif/lcdif-common.c