]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: au88x0: Fix incorrect device pointer for preallocation
authorTakashi Iwai <tiwai@suse.de>
Tue, 12 Nov 2019 14:32:43 +0000 (15:32 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 12 Nov 2019 14:33:52 +0000 (15:33 +0100)
commit3637d69b7a5fa4a5f1c8c76f98cb3a805323658b
tree60a58b34919eee20669ca5fc652ec2c0d9772f6f
parentcd9149b1c3450601f552842c4f43cfc8d1131e75
ALSA: au88x0: Fix incorrect device pointer for preallocation

The code change in commit 34a2a30771ab ("ALSA: pci: Avoid non-standard
macro usage") contained an incorrect conversion, which left the
invalid pointer passed to the allocator for au88x0 driver.  Fix it.

Fixes: 34a2a30771ab ("ALSA: pci: Avoid non-standard macro usage")
Link: https://lore.kernel.org/r/20191112143243.22216-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/au88x0/au88x0_pcm.c