commit | 15de0889b0c905a64d6f0fbc765a25d7899a560b | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Oct 01 18:46:29 2019 +0300 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Oct 02 17:21:48 2019 +0300 |
tree | 969f36a8f05aaaf59eaa48714fcd7ea2a1a93c6b | |
parent | 74f1d78965ee16a2617d245fd1f7e40964c0d562 [diff] |
drm/i915: Polish intel_tv_mode_valid() Drop the tv_mode NULL check since intel_tv_mode_find() never actually returns NULL, and flip the condition around so that the MODE_OK case is at the end, which is customary to all the other .mode_valid() implementations. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191001154629.11063-2-ville.syrjala@linux.intel.com Reviewed-by: José Roberto de Souza <jose.souza@intel.com>