ALSA: asihpi - fix return value of hpios_locked_mem_alloc()
authorEliot Blennerhassett <eblennerhassett@audioscience.com>
Thu, 29 Mar 2012 20:52:25 +0000 (09:52 +1300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 30 Mar 2012 14:24:48 +0000 (16:24 +0200)
commit92fd918c2416404c2ec09829b25243b9a785dc9b
treec474a04f3be33825f4c6162bce2010d53efc8ff0
parentc578ae0026da81a589245ee08e0fd1b1d8a55f4e
ALSA: asihpi - fix return value of hpios_locked_mem_alloc()

Make this function consistent with others in this module by
returning 1 for error, instead of -ENOMEM
(reverts function signature change from a938fb1e)

Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/hpi_internal.h
sound/pci/asihpi/hpios.c