diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2014-09-29 14:33:24 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-09-30 10:36:12 +0200 |
commit | e5347f9ab7cdafc2dbc0d4f7f30204293be71d8e (patch) | |
tree | 9608f5ef7fc971ed7d994dbf21bf4ece5f089868 /sound/pci/ctxfi/ctsrc.c | |
parent | 3d0fdc86e4b500dfcfbf2f68039d2d6853536c2e (diff) | |
download | linux-e5347f9ab7cdafc2dbc0d4f7f30204293be71d8e.tar.bz2 |
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/ctsrc.c')
-rw-r--r-- | sound/pci/ctxfi/ctsrc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ctxfi/ctsrc.c b/sound/pci/ctxfi/ctsrc.c index d3ef213fad77..50fa35bc66d2 100644 --- a/sound/pci/ctxfi/ctsrc.c +++ b/sound/pci/ctxfi/ctsrc.c @@ -566,6 +566,7 @@ int src_mgr_create(struct hw *hw, struct src_mgr **rsrc_mgr) src_mgr->src_enable = src_enable; src_mgr->src_disable = src_disable; src_mgr->commit_write = src_mgr_commit_write; + src_mgr->card = hw->card; /* Disable all SRC resources. */ for (i = 0; i < 256; i++) @@ -857,6 +858,7 @@ int srcimp_mgr_create(struct hw *hw, struct srcimp_mgr **rsrcimp_mgr) srcimp_mgr->put_srcimp = put_srcimp_rsc; srcimp_mgr->imap_add = srcimp_imap_add; srcimp_mgr->imap_delete = srcimp_imap_delete; + srcimp_mgr->card = hw->card; *rsrcimp_mgr = srcimp_mgr; |