diff options
author | Dylan Reid <dgreid@chromium.org> | 2014-02-28 15:41:13 -0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-03-01 11:20:37 +0100 |
commit | 408308133380fcd87a79520a2060850e68fdc2f3 (patch) | |
tree | ae38bec99ae1de1adb02f4008113cbbd448ee68e /ipc | |
parent | 2538a4f583e0e287f4ab96e431316789987d96b6 (diff) | |
download | blackbird-op-linux-408308133380fcd87a79520a2060850e68fdc2f3.tar.gz blackbird-op-linux-408308133380fcd87a79520a2060850e68fdc2f3.zip |
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 <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions