Merge pull request #341 from ricardosalveti/5.4-2.3.x-imx

drm: ipuv3: fix missing ret
This commit is contained in:
Otavio Salvador 2021-05-18 18:28:20 -03:00 committed by GitHub
commit ef23393808
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -439,6 +439,7 @@ static int ipu_drm_bind(struct device *dev, struct device *master, void *data)
struct ipu_client_platformdata *pdata = dev->platform_data;
struct drm_device *drm = data;
struct ipu_crtc *ipu_crtc;
int ret;
ipu_crtc = dev_get_drvdata(dev);
memset(ipu_crtc, 0, sizeof(*ipu_crtc));