summaryrefslogtreecommitdiff
path: root/sound/hda/array.c
AgeCommit message (Collapse)AuthorFilesLines
2016-08-03ALSA: hda: Fix krealloc() with __GFP_ZERO usageTakashi Iwai1-1/+3
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> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
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>