drm/i915/audio: add register macros for audio config N value
authorJani Nikula <jani.nikula@intel.com>
Mon, 10 Oct 2016 15:04:06 +0000 (18:04 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 11 Oct 2016 14:22:17 +0000 (17:22 +0300)
commit2561389a128cd15e97036b209856e53a546df9b7
treeeba06845b926caf854dbe5ebbcc24551ff7a32a2
parenta7c4efbfbe45f7f9e09bc6ff27e9762b89354449
drm/i915/audio: add register macros for audio config N value

Have generic macros in line with the rest of the register bit definition
macros instead of a dedicated function in intel_audio.c, and use them.
No functional changes.

Cc: Libin Yang <libin.yang@linux.intel.com>
Reviewed-by: Libin Yang <libin.yang@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/c8709b065ba5cb91b85c54f4e099219e4e68b192.1476111629.git.jani.nikula@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_audio.c