]> git.baikalelectronics.ru Git - kernel.git/commit
dma: mmp_pdma: add missing platform_set_drvdata() in mmp_pdma_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 25 Nov 2013 07:15:14 +0000 (15:15 +0800)
committerVinod Koul <vinod.koul@intel.com>
Thu, 28 Nov 2013 08:09:11 +0000 (13:39 +0530)
commitedf51eb5343871c9d34f9ec8108a3fe6712f8acb
tree808089d6104e830d080495d7924d53e1a52aa837
parenteb0416d2a0033827e714c2c2f63f5abe919aff06
dma: mmp_pdma: add missing platform_set_drvdata() in mmp_pdma_probe()

Add missing platform_set_drvdata() in mmp_pdma_probe(), otherwise
calling platform_get_drvdata() in mmp_pdma_remove() returns NULL.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mmp_pdma.c