lkml.org 
[lkml]   [2012]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v5 3/5] Extcon: support multiple states at a device.
From
On Mon, Feb 20, 2012 at 11:24 AM, Mark Brown
<broonie@opensource.wolfsonmicro.com> wrote:
> On Fri, Feb 10, 2012 at 03:40:36PM +0900, MyungJoo Ham wrote:
>
>> +     [EXTCON_AUDIO_IN]       = "Audio-in",
>> +     [EXTCON_AUDIO_OUT]      = "Audio-out",
>
> Can I suggest making these more specific - how about
>
>        [EXTCON_LINE_IN]        = "Line-in",
>        [EXTCON_LINE_OUT]       = "Line-out",
>        [EXTCON_MIC_IN]         = "Microphone",
>        [EXTCON_HEADPHONE_OUT]  = "Headphone",
>
> as a starting point?  The distinction between line and the other two is
> often pretty important from a UI/system interaction point of view.

Sure, this looks more generic. I'll add them along with SPDIF in/out.

>
>> +     /* TODO: remove before submit */
>> +     pr_info("[%s][%d]\n", buffer, enabled);
>
> :)

Whoops...

--
MyungJoo Ham, Ph.D.
System S/W Lab, Software Center, Samsung Electronics
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-02-20 08:05    [W:0.046 / U:1.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site