drm/i915/audio: simplify, don't mask out in all branches
authorJani Nikula <jani.nikula@intel.com>
Tue, 4 May 2021 08:14:00 +0000 (11:14 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 4 May 2021 12:04:13 +0000 (15:04 +0300)
commitf4c50deecaed632e9f413135fc3c13bacfbe71f5
treed5565b0fb5150219fbeebb3bb29052439fcf1229
parent20f85ef89d94e12041bc9b0a335a0e7d6c61daf7
drm/i915/audio: simplify, don't mask out in all branches

Lift the masking outside of the if branches. No functional changes.

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/a87fd5e66b52c4d52a568888e1b8037841786fd2.1620115982.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_audio.c