Commit 02a84c13 authored by Dave Airlie's avatar Dave Airlie

Merge tag 'sunxi-drm-for-4.11' of...

Merge tag 'sunxi-drm-for-4.11' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux into drm-next

Allwinner DRM changes for 4.11

Just one minor fix.

* tag 'sunxi-drm-for-4.11' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux:
  drm/sun4i: Fix a return value in case of error
parents b75e1695 0f0861e3
...@@ -193,7 +193,7 @@ int sun4i_backend_update_layer_formats(struct sun4i_backend *backend, ...@@ -193,7 +193,7 @@ int sun4i_backend_update_layer_formats(struct sun4i_backend *backend,
&val); &val);
if (ret) { if (ret) {
DRM_DEBUG_DRIVER("Invalid format\n"); DRM_DEBUG_DRIVER("Invalid format\n");
return val; return ret;
} }
regmap_update_bits(backend->regs, SUN4I_BACKEND_ATTCTL_REG1(layer), regmap_update_bits(backend->regs, SUN4I_BACKEND_ATTCTL_REG1(layer),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment