]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/hdmi: return -EINVAL instead of -1
authorJani Nikula <jani.nikula@intel.com>
Thu, 30 Sep 2021 11:24:34 +0000 (14:24 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 1 Oct 2021 08:44:20 +0000 (11:44 +0300)
commit0743019d540d18e7a5db220bf4c4b95650aa8c9e
treefd57c0bf00dc01265f5fe6645cbb43bfe14ac800
parentb90acd0987c81e4c8d7b4e7995ff3cecd16b2122
drm/i915/hdmi: return -EINVAL instead of -1

Avoid using the incidental -EPERM.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/8acf7ffe9222d23c7f47dbd95ff1f737221ff72c.1633000838.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_hdmi.c