commit | d3902c3eba3666f001fa82fa16109aa4ab0074dc | [log] [tgz] |
---|---|---|
author | Jani Nikula <jani.nikula@intel.com> | Mon May 04 17:20:49 2015 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri May 08 13:03:36 2015 +0200 |
tree | a9fac94c5d3082858cb4c6285964d081a9bb9598 | |
parent | 6222709d60734dd1e11f8d24520d9f23b4eb953e [diff] |
drm/i915/audio: do not mess with audio registers if port is invalid We should no longer enter the codec enable/disable functions in question with port A anyway, but to err on the safe side, keep the warnings. Just bail out early without messing with the registers. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>