ALSA: hda/ca0132 - Fix possible NULL dereference
authorTakashi Iwai <tiwai@suse.de>
Tue, 15 Jan 2013 16:42:15 +0000 (17:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 Jan 2013 16:42:15 +0000 (17:42 +0100)
commit549e8292a1e7712d401cc8b8df88286cdfff9f08
tree76d2f9968b38a15d308d5db040a6378a7f09fad6
parent425a7880e804f6147b520aecee522e4172c98e83
ALSA: hda/ca0132 - Fix possible NULL dereference

Spotted by smatch,
  sound/pci/hda/patch_ca0132.c:1950 dspxfr_image() error: potential
  null dereference 'dma_engine'.  (kzalloc returns null)
  sound/pci/hda/patch_ca0132.c:1950 dspxfr_image() error: we
  previously assumed 'dma_engine' could be null (see line 1857)

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c