Re: [PATCH 4/7] ASoC: Intel: Skylake: Shield against no-NHLT configurations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





-	intel_nhlt_free(skl->nhlt);
+	if (skl->nhlt)
+		intel_nhlt_free(skl->nhlt);

we could alternatively move the test in intel_nhlt_free, which seems like a more robust thing to do?



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux