ALSA: compress_core: Deconstify copy callback buffer
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 18 Apr 2013 10:01:38 +0000 (11:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 21 Apr 2013 07:53:00 +0000 (09:53 +0200)
commit4daf891cdea2eb63b51cb35a3ac12706f8c50156
tree7be791a16c5660f9825d5c428ae1040a22cc7707
parent5b1f79f70b0fa0b7ddb28c9ac54c57598fed6347
ALSA: compress_core: Deconstify copy callback buffer

The buffer passed to the copy callback should not be const because the
copy callback can be used for capture and playback.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/compress_driver.h
sound/core/compress_offload.c
sound/soc/soc-compress.c