public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 linux-next] Remove Unnecessary TODO
@ 2022-08-16 17:59 Khalid Masum
  2022-08-17  6:31 ` Pierre-Louis Bossart
  0 siblings, 1 reply; 3+ messages in thread
From: Khalid Masum @ 2022-08-16 17:59 UTC (permalink / raw)
  To: Pierre-Louis Bossart, alsa-devel, linux-kernel
  Cc: Vinod Koul, Bard Liao, Sanyog Kale, Khalid Masum

The capabilities enabled for multi-link are required as part of the
programming sequences, even when a stream uses a single link we still
use the syncArm/syncGo sequences. Therefore the TODO is no longer
necessary.

Suggested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Khalid Masum <khalid.masum.92@gmail.com>
---
Previous discussions:
- v1 Link: https://lore.kernel.org/lkml/20220814080416.7531-1-khalid.masum.92@gmail.com/

Changes since v1:
- Remove the todo, leave rest of the code as is
- Update commit message

 drivers/soundwire/bus.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/soundwire/bus.c b/drivers/soundwire/bus.c
index 8d4000664fa3..18158825a6d8 100644
--- a/drivers/soundwire/bus.c
+++ b/drivers/soundwire/bus.c
@@ -75,7 +75,6 @@ int sdw_bus_master_add(struct sdw_bus *bus, struct device *parent,
 
 	/*
 	 * Initialize multi_link flag
-	 * TODO: populate this flag by reading property from FW node
 	 */
 	bus->multi_link = false;
 	if (bus->ops->read_prop) {
-- 
2.37.1


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

* Re: [PATCH v2 linux-next] Remove Unnecessary TODO
  2022-08-16 17:59 [PATCH v2 linux-next] Remove Unnecessary TODO Khalid Masum
@ 2022-08-17  6:31 ` Pierre-Louis Bossart
  2022-08-17  7:25   ` Khalid Masum
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre-Louis Bossart @ 2022-08-17  6:31 UTC (permalink / raw)
  To: Khalid Masum, alsa-devel, linux-kernel; +Cc: Vinod Koul, Bard Liao, Sanyog Kale



On 8/16/22 19:59, Khalid Masum wrote:
> The capabilities enabled for multi-link are required as part of the
> programming sequences, even when a stream uses a single link we still
> use the syncArm/syncGo sequences. Therefore the TODO is no longer
> necessary.
> 
> Suggested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> Signed-off-by: Khalid Masum <khalid.masum.92@gmail.com>

the title of your patch should be something like

soundwire: intel: remove unnecessary TODO

so that the patch scope and context is clearly identified.
> ---
> Previous discussions:
> - v1 Link: https://lore.kernel.org/lkml/20220814080416.7531-1-khalid.masum.92@gmail.com/
> 
> Changes since v1:
> - Remove the todo, leave rest of the code as is
> - Update commit message
> 
>  drivers/soundwire/bus.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/soundwire/bus.c b/drivers/soundwire/bus.c
> index 8d4000664fa3..18158825a6d8 100644
> --- a/drivers/soundwire/bus.c
> +++ b/drivers/soundwire/bus.c
> @@ -75,7 +75,6 @@ int sdw_bus_master_add(struct sdw_bus *bus, struct device *parent,
>  
>  	/*
>  	 * Initialize multi_link flag
> -	 * TODO: populate this flag by reading property from FW node
>  	 */
>  	bus->multi_link = false;
>  	if (bus->ops->read_prop) {

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

* Re: [PATCH v2 linux-next] Remove Unnecessary TODO
  2022-08-17  6:31 ` Pierre-Louis Bossart
@ 2022-08-17  7:25   ` Khalid Masum
  0 siblings, 0 replies; 3+ messages in thread
From: Khalid Masum @ 2022-08-17  7:25 UTC (permalink / raw)
  To: Pierre-Louis Bossart, alsa-devel, linux-kernel
  Cc: Vinod Koul, Bard Liao, Sanyog Kale



On August 17, 2022 12:31:20 PM GMT+06:00, Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> wrote:
>
>
>On 8/16/22 19:59, Khalid Masum wrote:
>> The capabilities enabled for multi-link are required as part of the
>> programming sequences, even when a stream uses a single link we still
>> use the syncArm/syncGo sequences. Therefore the TODO is no longer
>> necessary.
>> 
>> Suggested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
>> Signed-off-by: Khalid Masum <khalid.masum.92@gmail.com>
>
>the title of your patch should be something like
>
>soundwire: intel: remove unnecessary TODO
>

You are right. I shall send the patch with the title fixed soon.

-- Khalid Masum 

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

end of thread, other threads:[~2022-08-17  7:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-16 17:59 [PATCH v2 linux-next] Remove Unnecessary TODO Khalid Masum
2022-08-17  6:31 ` Pierre-Louis Bossart
2022-08-17  7:25   ` Khalid Masum

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