mbox series

[v1,0/2] Minor fixes for CS35L41 HDA Property driver

Message ID 20231219162232.790358-1-sbinding@opensource.cirrus.com
Headers show
Series Minor fixes for CS35L41 HDA Property driver | expand

Message

Stefan Binding Dec. 19, 2023, 4:22 p.m. UTC
Minor issues were found in static analysis.
First fix ensures unitialised variables will never be freed.
Second fix only compiles in the SPI workaround if SPI is enabled in the
kernel.

Stefan Binding (2):
  ALSA: hda: cs35l41: Do not allow uninitialised variables to be freed
  ALSA: hda: cs35l41: Only add SPI CS GPIO if SPI is enabled in kernel

 sound/pci/hda/cs35l41_hda_property.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)