[alsa-devel] [PATCH] ALSA: firewire-lib: remove WARN_ON() at destruction of AMDTP domain

Takashi Iwai tiwai at suse.de
Sat Sep 7 08:39:58 CEST 2019


On Fri, 06 Sep 2019 15:14:14 +0200,
Takashi Sakamoto wrote:
> 
> The destructor of AMDTP domain has WARN_ON() for the list of associated
> AMDTP stream. Although this reminds a case that developers forget to
> program consumer drivers to stop AMDTP domain, it hits when AMDTP domain
> is not initialized yet. This occurs when initialization of sound card
> fails as well and it's superfluous.
> 
> This commit removes the WARN_ON. Although the API to AMDTP domain does
> nothing, it's left for future usage.
> 
> Fixes: 3ec3d7a3ff106 ("ALSA: firewire-lib: add AMDTP domain structure to handle several isoc contexts")
> Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list