aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorKieran Bingham <[email protected]>2021-01-13 17:02:53 +0000
committerLaurent Pinchart <[email protected]>2021-03-16 01:12:36 +0000
commit7a1adbd2399023177508836c2b13a6c723035409 (patch)
tree0944e198406337c190113206796643db7d1db21e /drivers/usb/cdns3/cdns3-plat.c
parentdrm/nouveau: fix dma syncing for loops (v2) (diff)
downloadkernel-7a1adbd2399023177508836c2b13a6c723035409.tar.gz
kernel-7a1adbd2399023177508836c2b13a6c723035409.zip
drm: rcar-du: Use drmm_encoder_alloc() to manage encoder
The encoder allocation was converted to a DRM managed resource at the same time as the addition of a new helper drmm_encoder_alloc() which simplifies the same process. Convert the custom drm managed resource allocation of the encoder with the helper to simplify the implementation, and prevent hitting a WARN_ON() due to the handling the drm_encoder_init() call directly without registering a .destroy() function op. Fixes: f5f16725edbc ("drm: rcar-du: Use DRM-managed allocation for encoders") Reported-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Kieran Bingham <[email protected]> Tested-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions