]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: als300: Fix missing chip initialization
authorTakashi Iwai <tiwai@suse.de>
Tue, 20 Jul 2021 22:18:18 +0000 (00:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Jul 2021 22:31:56 +0000 (00:31 +0200)
commitfbdd08102fa3089fc0c27a355335784e43a06f97
treefd3486847f90b38ec3b07628f39c3fbe22ae1fb6
parentbc6e9e5299e38a735ea73da11315bde9bc47d743
ALSA: als300: Fix missing chip initialization

The recent code refactoring missed the initialization of the chip
variable as its allocation was moved to card->private_data.
Let's fix it.

Fixes: 50faf4fef88f ("ALSA: als300: Allocate resources with device-managed APIs")
Reported-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/s5hh7goocid.wl-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/als300.c