ALSA: us122l: Use alloc_pages_exact()
authorTakashi Iwai <tiwai@suse.de>
Sat, 16 Mar 2019 07:48:52 +0000 (08:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Mar 2019 16:15:04 +0000 (17:15 +0100)
commit36b8defc447627c3e91058c43941ec15d827556e
treeb0acfaf2861c693c31418435d07eea75c6d7c0ef
parent734b5a0bbdf43518e6739c8156a985e385e557fe
ALSA: us122l: Use alloc_pages_exact()

alloc_pages_exact() is more suitable choice for allocating the sound
buffers, as it doesn't need to align with power-of-two.  Along with
the conversion, we can drop __GFP_COMP as well.

The patch also replace the error messages to be more explicit.

Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usx2y/usb_stream.c