Re: [PATCH] CS4270: comments: slave mode is now supported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Timur,

On Sun, Mar 08, 2009 at 11:40:30AM -0500, Timur Tabi wrote:
> On Sun, Mar 8, 2009 at 11:16 AM, Daniel Mack <daniel@xxxxxxxx> wrote:
> 
> > - * 3) Only Master mode is supported, not Slave.
> > - * 4) The machine driver's 'startup' function must call
> > + * 3) The machine driver's 'startup' function must call
> 
> I would have been simpler if you just said that both Master and Slave
> mode is supported. 

Right, I mistakenly read the whole list as limitations, but the headline
says 'features' as well.

> However, if you really want to delete #3, you may
> as well get rid of all the numbers, so that we don't have to renumber
> them again in the future.

Ok, that makes sense. What about the patch below?

Daniel


>From 5bf6359108726950c48f9f709eabc2c7e3a09eba Mon Sep 17 00:00:00 2001
From: Daniel Mack <daniel@xxxxxxxx>
Date: Sun, 8 Mar 2009 17:48:12 +0100
Subject: [PATCH] CS4270: bring feature/limitations list in sync

Removes numbers from the list of features/limitations and makes it
reflect recent changes to the code.

Signed-off-by: Daniel Mack <daniel@xxxxxxxx>
---
 sound/soc/codecs/cs4270.c |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c
index 4c7e546..d16aa81 100644
--- a/sound/soc/codecs/cs4270.c
+++ b/sound/soc/codecs/cs4270.c
@@ -12,14 +12,13 @@
  *
  * Current features/limitations:
  *
- * 1) Software mode is supported.  Stand-alone mode is not supported.
- * 2) Only I2C is supported, not SPI
- * 3) Only Master mode is supported, not Slave.
- * 4) The machine driver's 'startup' function must call
- *    cs4270_set_dai_sysclk() with the value of MCLK.
- * 5) Only I2S and left-justified modes are supported
- * 6) Power management is not supported
- * 7) The only supported control is volume and hardware mute (if enabled)
+ * - Software mode is supported.  Stand-alone mode is not supported.
+ * - Only I2C is supported, not SPI
+ * - Support for master and slave mode
+ * - The machine driver's 'startup' function must call
+ *   cs4270_set_dai_sysclk() with the value of MCLK.
+ * - Only I2S and left-justified modes are supported
+ * - Power management is not supported
  */
 
 #include <linux/module.h>
-- 
1.6.1.3

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux