]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: Fix dma_parms allocation
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 7 Jul 2020 11:08:27 +0000 (13:08 +0200)
committerInki Dae <inki.dae@samsung.com>
Tue, 22 Sep 2020 04:49:09 +0000 (13:49 +0900)
commit31df9d4dda1870d22a35d24589448d5e99cdf7d7
tree6c47d0bdef9aec82b7b85afc715b47f7bb8a186b
parent8d3baab10ae1495e0aa9c5ad6d80455227bf169a
drm/exynos: Fix dma_parms allocation

Since commit 75a877d1eaa6 ("driver core: platform: Initialize dma_parms
for platform devices") driver core handles allocation of the dma_parms
structure for platform device, so there is no need to manually allocate
nor free it.

Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_dma.c