drm/i915: Add audio sync_audio_rate callback
authorLibin Yang <libin.yang@intel.com>
Wed, 2 Sep 2015 06:11:38 +0000 (14:11 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 25 Sep 2015 08:04:40 +0000 (10:04 +0200)
commit5334240c30cb0058fa8c373bf0d653337833230d
tree03a645952a1c82b95fb6c08abdb131134a339204
parent1f93e4a96c9109378204c147b3eec0d0e8100fde
drm/i915: Add audio sync_audio_rate callback

Add the sync_audio_rate callback.

With the callback, audio driver can trigger
i915 driver to set the proper N/CTS or N/M
based on different sample rates.

Signed-off-by: Libin Yang <libin.yang@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/drm/i915_component.h