Commit 35c33721 authored by Christian Gromm's avatar Christian Gromm Committed by Greg Kroah-Hartman

staging: most: fix style problems

This patch simply corrects style violations.
Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e569da26
...@@ -340,7 +340,7 @@ static int pcm_hw_params(struct snd_pcm_substream *substream, ...@@ -340,7 +340,7 @@ static int pcm_hw_params(struct snd_pcm_substream *substream,
!(params_format(hw_params) != channel->pcm_hardware.formats)) !(params_format(hw_params) != channel->pcm_hardware.formats))
return -EINVAL; return -EINVAL;
return snd_pcm_lib_alloc_vmalloc_buffer(substream, return snd_pcm_lib_alloc_vmalloc_buffer(substream,
params_buffer_bytes(hw_params)); params_buffer_bytes(hw_params));
} }
/** /**
...@@ -480,8 +480,8 @@ static int split_arg_list(char *buf, char **card_name, char **pcm_format) ...@@ -480,8 +480,8 @@ static int split_arg_list(char *buf, char **card_name, char **pcm_format)
} }
static int audio_set_hw_params(struct snd_pcm_hardware *pcm_hw, static int audio_set_hw_params(struct snd_pcm_hardware *pcm_hw,
char *pcm_format, char *pcm_format,
struct most_channel_config *cfg) struct most_channel_config *cfg)
{ {
pcm_hw->info = MOST_PCM_INFO; pcm_hw->info = MOST_PCM_INFO;
pcm_hw->rates = SNDRV_PCM_RATE_48000; pcm_hw->rates = SNDRV_PCM_RATE_48000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment