• D
    ALSA: hda - Allow different ops to read/write registers · 40830813
    Dylan Reid 提交于
    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: NDylan Reid <dgreid@chromium.org>
    Signed-off-by: NTakashi Iwai <tiwai@suse.de>
    40830813
hda_intel.c 101.7 KB