From: Dylan Reid Date: Fri, 28 Feb 2014 23:41:13 +0000 (-0800) Subject: ALSA: hda - Allow different ops to read/write registers X-Git-Tag: v3.15-rc1~142^2~3^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=408308133380fcd87a79520a2060850e68fdc2f3;p=pandora-kernel.git ALSA: hda - Allow different ops to read/write registers The forthcoming platform hda driver needs to override the way registers are read and written. In preparation for that, introduce a reg_ops struct that can be implemented differently by the new driver. Change the existing macros to use the new structure, and move them to hda_priv.h where they will be accessible to both PCI and platform drivers. Start with register access, but later commits will add more ops that differ between PCI and platform. Signed-off-by: Dylan Reid Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed