summaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctdaio.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2014-09-29 11:03:24 +0200
committerTakashi Iwai <tiwai@suse.de>2014-09-30 10:36:12 +0200
commite5347f9ab7cdafc2dbc0d4f7f30204293be71d8e (patch)
tree9608f5ef7fc971ed7d994dbf21bf4ece5f089868 /sound/pci/ctxfi/ctdaio.c
parentALSA: ctxfi: added reference of snd_card (diff)
downloadlinux-e5347f9ab7cdafc2dbc0d4f7f30204293be71d8e.tar.xz
linux-e5347f9ab7cdafc2dbc0d4f7f30204293be71d8e.zip
ALSA: ctxfi: initialized snd_card
initialized the reference of snd_card which was added to the various structures through the previous patch of the series. these references of snd_card will be used in a later patch to convert the pr_* macros to dev_* Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctdaio.c')
-rw-r--r--sound/pci/ctxfi/ctdaio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/ctxfi/ctdaio.c b/sound/pci/ctxfi/ctdaio.c
index aa4aa712c285..212280e11f6e 100644
--- a/sound/pci/ctxfi/ctdaio.c
+++ b/sound/pci/ctxfi/ctdaio.c
@@ -725,6 +725,7 @@ int daio_mgr_create(struct hw *hw, struct daio_mgr **rdaio_mgr)
daio_mgr->imap_add = daio_imap_add;
daio_mgr->imap_delete = daio_imap_delete;
daio_mgr->commit_write = daio_mgr_commit_write;
+ daio_mgr->card = hw->card;
for (i = 0; i < 8; i++) {
hw->daio_mgr_dsb_dao(daio_mgr->mgr.ctrl_blk, i);