Merge "disp: msm: dp: fix null check in atomic_check"

Este commit está contenido en:
qctecmdr
2020-02-19 17:55:56 -08:00
cometido por Gerrit - the friendly Code Review server

Ver fichero

@@ -504,7 +504,7 @@ int dp_connector_atomic_check(struct drm_connector *connector,
struct drm_connector_state *old_state;
struct drm_connector_state *c_state;
if (!connector || !display || a_state)
if (!connector || !display || !a_state)
return -EINVAL;
c_state = drm_atomic_get_new_connector_state(a_state, connector);