diff options
Diffstat (limited to 'sound/pci/ctxfi/ctsrc.c')
-rw-r--r-- | sound/pci/ctxfi/ctsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ctxfi/ctsrc.c b/sound/pci/ctxfi/ctsrc.c index e134b3a5780..6e77e86307c 100644 --- a/sound/pci/ctxfi/ctsrc.c +++ b/sound/pci/ctxfi/ctsrc.c | |||
@@ -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 = kzalloc(sizeof(*src)*desc->multi, GFP_KERNEL); | 440 | src = kcalloc(desc->multi, sizeof(*src), GFP_KERNEL); |
441 | else | 441 | else |
442 | src = kzalloc(sizeof(*src), GFP_KERNEL); | 442 | src = kzalloc(sizeof(*src), GFP_KERNEL); |
443 | 443 | ||