public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* [PATCH] soundwire: intel: Remove duplicate assignment
@ 2018-08-07 11:58 Vinod Koul
  2018-08-07 14:22 ` Pierre-Louis Bossart
  0 siblings, 1 reply; 2+ messages in thread
From: Vinod Koul @ 2018-08-07 11:58 UTC (permalink / raw)
  To: alsa-devel; +Cc: Vinod Koul, Sanyog Kale, Pierre-Louis Bossart, Shreyas NC

From: Shreyas NC <shreyas.nc@intel.com>

Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 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);
-- 
2.14.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] soundwire: intel: Remove duplicate assignment
  2018-08-07 11:58 [PATCH] soundwire: intel: Remove duplicate assignment Vinod Koul
@ 2018-08-07 14:22 ` Pierre-Louis Bossart
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre-Louis Bossart @ 2018-08-07 14:22 UTC (permalink / raw)
  To: Vinod Koul, alsa-devel; +Cc: Sanyog Kale, Shreyas NC

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

Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@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);
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-07 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-07 11:58 [PATCH] soundwire: intel: Remove duplicate assignment Vinod Koul
2018-08-07 14:22 ` Pierre-Louis Bossart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox