]> rtime.felk.cvut.cz Git - linux-imx.git/commit
ALSA: compress: fix the return value for SNDRV_COMPRESS_VERSION
authorVinod Koul <vinod.koul@intel.com>
Mon, 29 Jul 2013 09:40:22 +0000 (15:10 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 29 Jul 2013 11:58:08 +0000 (13:58 +0200)
commita8d30608eaed6cc759b8e2e8a8bbbb42591f797f
tree579ffca8fb888783e6632482b11d003668b3565e
parent43cbd286fbba4bfb0c2ef05dc62522dfd5a2c000
ALSA: compress: fix the return value for SNDRV_COMPRESS_VERSION

the return value of SNDRV_COMPRESS_VERSION always return default -ENOTTY as the
return value was never updated for this call
assign return value from put_user()

Reported-by: Haynes <hgeorge@codeaurora.org>
CC: stable@vger.kernel.org
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/compress_offload.c