summaryrefslogtreecommitdiffstats
path: root/drivers/staging/most/sound/sound.c
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2019-04-03 15:19:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-16 13:24:58 +0200
commitdfee92dd50464cbce3d3df2b1ca3eb6c39fb9467 (patch)
treed2f24eeb2d132cc81a9a05fe81bcf83254f1db45 /drivers/staging/most/sound/sound.c
parent2bfde348879a3edc402544b2b432420b929cf959 (diff)
downloadlinux-stable-dfee92dd50464cbce3d3df2b1ca3eb6c39fb9467.tar.gz
linux-stable-dfee92dd50464cbce3d3df2b1ca3eb6c39fb9467.tar.bz2
linux-stable-dfee92dd50464cbce3d3df2b1ca3eb6c39fb9467.zip
staging: most: change signature of function probe_channel
This patch adds the param argument to the function parameter of the call-back probe_channel. This parameter is needed to configure the channels of an attached device. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/sound/sound.c')
-rw-r--r--drivers/staging/most/sound/sound.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/most/sound/sound.c b/drivers/staging/most/sound/sound.c
index 79ab3a78c5ec..02fcd322b2cb 100644
--- a/drivers/staging/most/sound/sound.c
+++ b/drivers/staging/most/sound/sound.c
@@ -579,7 +579,7 @@ static void release_adapter(struct sound_adapter *adpt)
*/
static int audio_probe_channel(struct most_interface *iface, int channel_id,
struct most_channel_config *cfg,
- char *arg_list)
+ char *device_name, char *arg_list)
{
struct channel *channel;
struct sound_adapter *adpt;
@@ -588,7 +588,6 @@ static int audio_probe_channel(struct most_interface *iface, int channel_id,
int capture_count = 0;
int ret;
int direction;
- char *device_name;
u16 ch_num;
u8 create = 0;
char *sample_res;