[PATCH] soundwire: qcom: add support for get_sdw_stream()

Vinod Koul vkoul at kernel.org
Fri Mar 20 15:07:46 CET 2020


On 17-03-20, 09:26, Srinivas Kandagatla wrote:
> Adding support to new get_sdw_stream() that can help machine
> driver to deal with soundwire stream.
> 
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla at linaro.org>
> ---
>  drivers/soundwire/qcom.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/soundwire/qcom.c b/drivers/soundwire/qcom.c
> index 440effed6df6..ba810fbfa3c7 100644
> --- a/drivers/soundwire/qcom.c
> +++ b/drivers/soundwire/qcom.c
> @@ -588,6 +588,13 @@ static int qcom_swrm_set_sdw_stream(struct snd_soc_dai *dai,
>  	return 0;
>  }
>  
> +static void * qcom_swrm_get_sdw_stream(struct snd_soc_dai *dai, int direction)

This should be void *qcom_swrm_get_sdw_stream. Please run checkpatch
before sending patches.

I have fixed it up while applying

-- 
~Vinod


More information about the Alsa-devel mailing list