[alsa-devel] [PATCH] soundwire: intel: Remove duplicate assignment

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Tue Aug 7 16:22:52 CEST 2018


On 8/7/18 6:58 AM, Vinod Koul wrote:
> From: Shreyas NC <shreyas.nc at intel.com>
> 
> Signed-off-by: Shreyas NC <shreyas.nc at intel.com>
> Signed-off-by: Vinod Koul <vkoul at kernel.org>

Acked-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>

> ---
>   drivers/soundwire/intel.c | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c
> index da7f91f1a588..c5ee97ee7886 100644
> --- a/drivers/soundwire/intel.c
> +++ b/drivers/soundwire/intel.c
> @@ -845,9 +845,6 @@ static int intel_probe(struct platform_device *pdev)
>   	sdw_intel_ops.read_prop = intel_prop_read;
>   	sdw->cdns.bus.ops = &sdw_intel_ops;
>   
> -	sdw_intel_ops.read_prop = intel_prop_read;
> -	sdw->cdns.bus.ops = &sdw_intel_ops;
> -
>   	platform_set_drvdata(pdev, sdw);
>   
>   	ret = sdw_add_bus_master(&sdw->cdns.bus);
> 



More information about the Alsa-devel mailing list