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)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Sep 2013 16:40:00 +0000 (18:40 +0200)
commit4028b6c4c03f213260e9290ff3a6b5439aad07ce
tree80f052d5561bfdca199a7050cc86a5e656713559
parent272b98c6455f00884f0350f775c5342358ebb73f
ALSA: compress: Fix compress device unregister.

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/compress_offload.c