ALSA: compress: Fix compress device unregister.
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Fri, 13 Sep 2013 16:43:17 +0000 (17:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2013 14:13:12 +0000 (07:13 -0700)
commit1aff4161cc9ed30b6842030ec1b91b4cdca1a811
treee713be9f1da6ab848d71cd93d0afd42076f4f0f3
parent332769e13b075c82ae7b9f79be29506f8c6aceb2
ALSA: compress: Fix compress device unregister.

commit 4028b6c4c03f213260e9290ff3a6b5439aad07ce upstream.

snd_unregister_device() should return the device type and not stream
direction.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Tested-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/core/compress_offload.c