summaryrefslogtreecommitdiff
path: root/sound/hda/array.c
AgeCommit message (Collapse)AuthorFilesLines
2016-08-20ALSA: hda: Fix krealloc() with __GFP_ZERO usageTakashi Iwai1-1/+3
commit 33baefe5e72f17a6df378e48196cd8cada11deec upstream. krealloc() doesn't work always properly with __GFP_ZERO flag as expected. For clearing the reallocated area, we need to clear explicitly instead. Reported-by: Joe Perches <joe@perches.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-23ALSA: hda - Move generic array helpers to core libTakashi Iwai1-0/+49
This will be used by the regmap support. Signed-off-by: Takashi Iwai <tiwai@suse.de>