diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /sound/pci/ctxfi/ctsrc.c | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'sound/pci/ctxfi/ctsrc.c')
-rw-r--r-- | sound/pci/ctxfi/ctsrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ctxfi/ctsrc.c b/sound/pci/ctxfi/ctsrc.c index 6e77e86307c..c749fa72088 100644 --- a/sound/pci/ctxfi/ctsrc.c +++ b/sound/pci/ctxfi/ctsrc.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include "cthardware.h" | 20 | #include "cthardware.h" |
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | 22 | ||
23 | #define SRC_RESOURCE_NUM 256 | 23 | #define SRC_RESOURCE_NUM 64 |
24 | #define SRCIMP_RESOURCE_NUM 256 | 24 | #define SRCIMP_RESOURCE_NUM 256 |
25 | 25 | ||
26 | static unsigned int conj_mask; | 26 | static unsigned int conj_mask; |
@@ -437,7 +437,7 @@ get_src_rsc(struct src_mgr *mgr, const struct src_desc *desc, struct src **rsrc) | |||
437 | 437 | ||
438 | /* Allocate mem for master src resource */ | 438 | /* Allocate mem for master src resource */ |
439 | if (MEMRD == desc->mode) | 439 | if (MEMRD == desc->mode) |
440 | src = kcalloc(desc->multi, sizeof(*src), GFP_KERNEL); | 440 | src = kzalloc(sizeof(*src)*desc->multi, GFP_KERNEL); |
441 | else | 441 | else |
442 | src = kzalloc(sizeof(*src), GFP_KERNEL); | 442 | src = kzalloc(sizeof(*src), GFP_KERNEL); |
443 | 443 | ||