From: Takashi Iwai Date: Thu, 17 Oct 2013 16:21:12 +0000 (+0200) Subject: ALSA: hda - Move mutex from hda_eld to per_pin in HDMI codec driver X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~14^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4e9a38b40a0e2f7dad1a0b355896d23fbdd16e0;p=pandora-kernel.git ALSA: hda - Move mutex from hda_eld to per_pin in HDMI codec driver Since the lock is used primarily in patch_hdmi.c, it's better to move it in the local struct instead of exporting in hda_eld. The only functions requiring the lock in hda_eld.c are proc accessors. So in this patch, the proc entry and its creation/deletion/accessors are moved into patch_hdmi.c, together with the mutex lock to pin_spec struct. The former proc info functions are exported so that they can be called from patch_hdmi.c. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed