All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dell-laptop: use dedicated sysfs file for ALS
@ 2015-01-14 14:05 Gabriele Mazzotta
  2015-01-14 14:07 ` Gabriele Mazzotta
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Gabriele Mazzotta @ 2015-01-14 14:05 UTC (permalink / raw)
  To: mjg59, dvhart
  Cc: pali.rohar, linux-kernel, platform-driver-x86, A.Sloman,
	computersforpeace, Gabriele Mazzotta

The ambient light sensor doesn't act like an input trigger, so it has
to be kept separate. The sensor readings are used to determine whether
the conditions to change the keyboard illumination are satisfied or
not the moment an input trigger is used. Ambient light changes alone
can't change the keyboard backlight illumination and don't restart the
timer.

Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
---
 .../ABI/testing/sysfs-platform-dell-laptop         |  11 +-
 drivers/platform/x86/dell-laptop.c                 | 152 ++++++++++++---------
 2 files changed, 97 insertions(+), 66 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-platform-dell-laptop b/Documentation/ABI/testing/sysfs-platform-dell-laptop
index 7969443..8c6a0b8 100644
--- a/Documentation/ABI/testing/sysfs-platform-dell-laptop
+++ b/Documentation/ABI/testing/sysfs-platform-dell-laptop
@@ -1,4 +1,4 @@
-What:		/sys/class/leds/dell::kbd_backlight/als_setting
+What:		/sys/class/leds/dell::kbd_backlight/als_enabled
 Date:		December 2014
 KernelVersion:	3.19
 Contact:	Gabriele Mazzotta <gabriele.mzt@gmail.com>,
@@ -9,6 +9,15 @@ Description:
 		light sensor. Write 1 to this file to enable the auto
 		mode, 0 to disable it.
 
+What:		/sys/class/leds/dell::kbd_backlight/als_setting
+Date:		December 2014
+KernelVersion:	3.19
+Contact:	Gabriele Mazzotta <gabriele.mzt@gmail.com>,
+		Pali Rohár <pali.rohar@gmail.com>
+Description:
+		This file allows to specifiy the on/off threshold value,
+		as reported by the ambient light sensor.
+
 What:		/sys/class/leds/dell::kbd_backlight/start_triggers
 Date:		December 2014
 KernelVersion:	3.19
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
index 9411eae..e5334ab 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -1514,9 +1514,6 @@ static ssize_t kbd_led_triggers_store(struct device *dev,
 	struct kbd_state new_state;
 	struct kbd_state state;
 	bool triggers_enabled = false;
-	bool als_enabled = false;
-	bool disable_als = false;
-	bool enable_als = false;
 	int trigger_bit = -1;
 	char trigger[21];
 	int i, ret;
@@ -1532,48 +1529,9 @@ static ssize_t kbd_led_triggers_store(struct device *dev,
 	if (ret)
 		return ret;
 
-	if (kbd_als_supported)
-		als_enabled = kbd_is_als_mode_bit(state.mode_bit);
-
 	if (kbd_triggers_supported)
 		triggers_enabled = kbd_is_trigger_mode_bit(state.mode_bit);
 
-	if (kbd_als_supported) {
-		if (strcmp(trigger, "+als") == 0) {
-			if (als_enabled)
-				return count;
-			enable_als = true;
-		} else if (strcmp(trigger, "-als") == 0) {
-			if (!als_enabled)
-				return count;
-			disable_als = true;
-		}
-	}
-
-	if (enable_als || disable_als) {
-		new_state = state;
-		if (enable_als) {
-			if (triggers_enabled)
-				new_state.mode_bit = KBD_MODE_BIT_TRIGGER_ALS;
-			else
-				new_state.mode_bit = KBD_MODE_BIT_ALS;
-		} else {
-			if (triggers_enabled) {
-				new_state.mode_bit = KBD_MODE_BIT_TRIGGER;
-				kbd_set_level(&new_state, kbd_previous_level);
-			} else {
-				new_state.mode_bit = KBD_MODE_BIT_ON;
-			}
-		}
-		if (!(kbd_info.modes & BIT(new_state.mode_bit)))
-			return -EINVAL;
-		ret = kbd_set_state_safe(&new_state, &state);
-		if (ret)
-			return ret;
-		kbd_previous_mode_bit = new_state.mode_bit;
-		return count;
-	}
-
 	if (kbd_triggers_supported) {
 		for (i = 0; i < ARRAY_SIZE(kbd_led_triggers); ++i) {
 			if (!(kbd_info.triggers & BIT(i)))
@@ -1609,17 +1567,10 @@ static ssize_t kbd_led_triggers_store(struct device *dev,
 		    new_state.triggers)
 			return -EINVAL;
 		if (new_state.triggers && !triggers_enabled) {
-			if (als_enabled)
-				new_state.mode_bit = KBD_MODE_BIT_TRIGGER_ALS;
-			else {
-				new_state.mode_bit = KBD_MODE_BIT_TRIGGER;
-				kbd_set_level(&new_state, kbd_previous_level);
-			}
+			new_state.mode_bit = KBD_MODE_BIT_TRIGGER;
+			kbd_set_level(&new_state, kbd_previous_level);
 		} else if (new_state.triggers == 0) {
-			if (als_enabled)
-				new_state.mode_bit = KBD_MODE_BIT_ALS;
-			else
-				kbd_set_level(&new_state, 0);
+			kbd_set_level(&new_state, 0);
 		}
 		if (!(kbd_info.modes & BIT(new_state.mode_bit)))
 			return -EINVAL;
@@ -1665,13 +1616,6 @@ static ssize_t kbd_led_triggers_show(struct device *dev,
 		}
 	}
 
-	if (kbd_als_supported) {
-		if (kbd_is_als_mode_bit(state.mode_bit))
-			len += sprintf(buf+len, "+als ");
-		else
-			len += sprintf(buf+len, "-als ");
-	}
-
 	if (len)
 		buf[len - 1] = '\n';
 
@@ -1681,9 +1625,85 @@ static ssize_t kbd_led_triggers_show(struct device *dev,
 static DEVICE_ATTR(start_triggers, S_IRUGO | S_IWUSR,
 		   kbd_led_triggers_show, kbd_led_triggers_store);
 
-static ssize_t kbd_led_als_store(struct device *dev,
-				 struct device_attribute *attr,
-				 const char *buf, size_t count)
+static ssize_t kbd_led_als_enabled_store(struct device *dev,
+					 struct device_attribute *attr,
+					 const char *buf, size_t count)
+{
+	struct kbd_state new_state;
+	struct kbd_state state;
+	bool triggers_enabled = false;
+	int enable;
+	int ret;
+
+	if (!kbd_als_supported) {
+		pr_warn("ALS mode is not supported\n");
+		return -ENODEV;
+	}
+
+	ret = kstrtoint(buf, 0, &enable);
+	if (ret)
+		return ret;
+
+	ret = kbd_get_state(&state);
+	if (ret)
+		return ret;
+
+	if (enable == kbd_is_als_mode_bit(state.mode_bit))
+		return count;
+
+	new_state = state;
+
+	if (kbd_triggers_supported)
+		triggers_enabled = kbd_is_trigger_mode_bit(state.mode_bit);
+
+	if (enable) {
+		if (triggers_enabled)
+			new_state.mode_bit = KBD_MODE_BIT_TRIGGER_ALS;
+		else
+			new_state.mode_bit = KBD_MODE_BIT_ALS;
+	} else {
+		if (triggers_enabled) {
+			new_state.mode_bit = KBD_MODE_BIT_TRIGGER;
+			kbd_set_level(&new_state, kbd_previous_level);
+		} else {
+			new_state.mode_bit = KBD_MODE_BIT_ON;
+		}
+	}
+	if (!(kbd_info.modes & BIT(new_state.mode_bit)))
+		return -EINVAL;
+
+	ret = kbd_set_state_safe(&new_state, &state);
+	if (ret)
+		return ret;
+	kbd_previous_mode_bit = new_state.mode_bit;
+
+	return count;
+}
+
+static ssize_t kbd_led_als_enabled_show(struct device *dev,
+					struct device_attribute *attr,
+					char *buf)
+{
+	struct kbd_state state;
+	bool enabled = false;
+	int ret;
+
+	if (kbd_als_supported) {
+		ret = kbd_get_state(&state);
+		if (ret)
+			return ret;
+		enabled = kbd_is_als_mode_bit(state.mode_bit);
+	}
+
+	return sprintf(buf, "%d\n", enabled ? 1 : 0);
+}
+
+static DEVICE_ATTR(als_enabled, S_IRUGO | S_IWUSR,
+		   kbd_led_als_enabled_show, kbd_led_als_enabled_store);
+
+static ssize_t kbd_led_als_setting_store(struct device *dev,
+					 struct device_attribute *attr,
+					 const char *buf, size_t count)
 {
 	struct kbd_state state;
 	struct kbd_state new_state;
@@ -1708,8 +1728,9 @@ static ssize_t kbd_led_als_store(struct device *dev,
 	return count;
 }
 
-static ssize_t kbd_led_als_show(struct device *dev,
-				struct device_attribute *attr, char *buf)
+static ssize_t kbd_led_als_setting_show(struct device *dev,
+					struct device_attribute *attr,
+					char *buf)
 {
 	struct kbd_state state;
 	int ret;
@@ -1722,11 +1743,12 @@ static ssize_t kbd_led_als_show(struct device *dev,
 }
 
 static DEVICE_ATTR(als_setting, S_IRUGO | S_IWUSR,
-		   kbd_led_als_show, kbd_led_als_store);
+		   kbd_led_als_setting_show, kbd_led_als_setting_store);
 
 static struct attribute *kbd_led_attrs[] = {
 	&dev_attr_stop_timeout.attr,
 	&dev_attr_start_triggers.attr,
+	&dev_attr_als_enabled.attr,
 	&dev_attr_als_setting.attr,
 	NULL,
 };
-- 
2.1.4


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

* Re: [PATCH] dell-laptop: use dedicated sysfs file for ALS
  2015-01-14 14:05 [PATCH] dell-laptop: use dedicated sysfs file for ALS Gabriele Mazzotta
@ 2015-01-14 14:07 ` Gabriele Mazzotta
  2015-01-18 18:08   ` Darren Hart
  2015-01-18 17:52 ` Darren Hart
  2015-02-10  9:36 ` Pali Rohár
  2 siblings, 1 reply; 10+ messages in thread
From: Gabriele Mazzotta @ 2015-01-14 14:07 UTC (permalink / raw)
  To: dvhart
  Cc: mjg59, pali.rohar, linux-kernel, platform-driver-x86, A.Sloman,
	computersforpeace

Hi,

I decided to remove "als" from input_triggers and created a dedicated
sysfs file for it. Having it there was wrong and misleading.
I also updated the documentation to reflect this change and fixed the
wrong description of als_setting, now used for als_enabled.

Is returning -ENODEV only when writing to als_enabled the right thing
to do or should it be returned also when reading als_enabled?

Thanks,
Gabriele

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

* Re: [PATCH] dell-laptop: use dedicated sysfs file for ALS
  2015-01-14 14:05 [PATCH] dell-laptop: use dedicated sysfs file for ALS Gabriele Mazzotta
  2015-01-14 14:07 ` Gabriele Mazzotta
@ 2015-01-18 17:52 ` Darren Hart
  2015-02-10  9:36 ` Pali Rohár
  2 siblings, 0 replies; 10+ messages in thread
From: Darren Hart @ 2015-01-18 17:52 UTC (permalink / raw)
  To: Gabriele Mazzotta
  Cc: mjg59, pali.rohar, linux-kernel, platform-driver-x86, A.Sloman,
	computersforpeace

On Wed, Jan 14, 2015 at 03:05:57PM +0100, Gabriele Mazzotta wrote:
> The ambient light sensor doesn't act like an input trigger, so it has
> to be kept separate. The sensor readings are used to determine whether
> the conditions to change the keyboard illumination are satisfied or
> not the moment an input trigger is used. Ambient light changes alone
> can't change the keyboard backlight illumination and don't restart the
> timer.
> 
> Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
> ---

...

> +static ssize_t kbd_led_als_enabled_store(struct device *dev,
> +					 struct device_attribute *attr,
> +					 const char *buf, size_t count)
> +{
> +	struct kbd_state new_state;
> +	struct kbd_state state;
> +	bool triggers_enabled = false;
> +	int enable;
> +	int ret;
> +
> +	if (!kbd_als_supported) {
> +		pr_warn("ALS mode is not supported\n");
> +		return -ENODEV;


Will this sysfs file exist if !kbd_als_supported? If so, can we prevent that?

...

Generally speaking, there is a lot more change here than I would like for an
RC5. I'm going to have to consider this one carefully. If we can't come up with
a simpler fix for this RC series, we may have to revert the previous patch and
target this for 3.20.

-- 
Darren Hart
Intel Open Source Technology Center

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

* Re: [PATCH] dell-laptop: use dedicated sysfs file for ALS
  2015-01-14 14:07 ` Gabriele Mazzotta
@ 2015-01-18 18:08   ` Darren Hart
  2015-01-18 18:34     ` Gabriele Mazzotta
  0 siblings, 1 reply; 10+ messages in thread
From: Darren Hart @ 2015-01-18 18:08 UTC (permalink / raw)
  To: Gabriele Mazzotta
  Cc: mjg59, pali.rohar, linux-kernel, platform-driver-x86, A.Sloman,
	computersforpeace

On Wed, Jan 14, 2015 at 03:07:21PM +0100, Gabriele Mazzotta wrote:
> Hi,
> 
> I decided to remove "als" from input_triggers and created a dedicated
> sysfs file for it. Having it there was wrong and misleading.
> I also updated the documentation to reflect this change and fixed the
> wrong description of als_setting, now used for als_enabled.

Given this is a significant functional change, as opposed to a bug fix, I'm
leaning toward reverting the original and adding back the corrected version to
3.20. I'm going to look at the total impact first - let me know if you have a
strong argument one way or the other.

> 
> Is returning -ENODEV only when writing to als_enabled the right thing
> to do or should it be returned also when reading als_enabled?

Why would the als_enabled file exist if it would return ENODEV? If it shouldn't,
then returning ENODEV in both cases would be the right thing to do as there is
an error present.

-- 
Darren Hart
Intel Open Source Technology Center

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

* Re: [PATCH] dell-laptop: use dedicated sysfs file for ALS
  2015-01-18 18:08   ` Darren Hart
@ 2015-01-18 18:34     ` Gabriele Mazzotta
  2015-01-21 18:38       ` Darren Hart
  0 siblings, 1 reply; 10+ messages in thread
From: Gabriele Mazzotta @ 2015-01-18 18:34 UTC (permalink / raw)
  To: Darren Hart
  Cc: mjg59, pali.rohar, linux-kernel, platform-driver-x86, A.Sloman,
	computersforpeace

On Sunday 18 January 2015 10:08:21 Darren Hart wrote:
> On Wed, Jan 14, 2015 at 03:07:21PM +0100, Gabriele Mazzotta wrote:
> > Hi,
> > 
> > I decided to remove "als" from input_triggers and created a dedicated
> > sysfs file for it. Having it there was wrong and misleading.
> > I also updated the documentation to reflect this change and fixed the
> > wrong description of als_setting, now used for als_enabled.
> 
> Given this is a significant functional change, as opposed to a bug fix, I'm
> leaning toward reverting the original and adding back the corrected version to
> 3.20. I'm going to look at the total impact first - let me know if you have a
> strong argument one way or the other.

I'm not against this decision.
If you do, please remember to also revert the commit that added the
documentation.

> > Is returning -ENODEV only when writing to als_enabled the right thing
> > to do or should it be returned also when reading als_enabled?
> 
> Why would the als_enabled file exist if it would return ENODEV? If it shouldn't,
> then returning ENODEV in both cases would be the right thing to do as there is
> an error present.

I'd say it makes sense not to create it when not neeeded.
Creating the file conditionally probably requires more changes than what
you'd like to see at this stage, so this would be another argument
supporting the revert.

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

* Re: [PATCH] dell-laptop: use dedicated sysfs file for ALS
  2015-01-18 18:34     ` Gabriele Mazzotta
@ 2015-01-21 18:38       ` Darren Hart
  2015-01-21 22:32         ` Gabriele Mazzotta
  0 siblings, 1 reply; 10+ messages in thread
From: Darren Hart @ 2015-01-21 18:38 UTC (permalink / raw)
  To: Gabriele Mazzotta
  Cc: mjg59, pali.rohar, linux-kernel, platform-driver-x86, A.Sloman,
	computersforpeace

On Sun, Jan 18, 2015 at 07:34:17PM +0100, Gabriele Mazzotta wrote:
> On Sunday 18 January 2015 10:08:21 Darren Hart wrote:
> > On Wed, Jan 14, 2015 at 03:07:21PM +0100, Gabriele Mazzotta wrote:
> > > Hi,
> > > 
> > > I decided to remove "als" from input_triggers and created a dedicated
> > > sysfs file for it. Having it there was wrong and misleading.
> > > I also updated the documentation to reflect this change and fixed the
> > > wrong description of als_setting, now used for als_enabled.
> > 
> > Given this is a significant functional change, as opposed to a bug fix, I'm
> > leaning toward reverting the original and adding back the corrected version to
> > 3.20. I'm going to look at the total impact first - let me know if you have a
> > strong argument one way or the other.
> 
> I'm not against this decision.
> If you do, please remember to also revert the commit that added the
> documentation.

Then for my pull request to Linus this week, I'll be reverting:

02b2aaa platform: x86: dell-laptop: Add support for keyboard backlight
3161293 Documentation: Add entry for dell-laptop sysfs interface

Am I missing anything?

-- 
Darren Hart
Intel Open Source Technology Center

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

* Re: [PATCH] dell-laptop: use dedicated sysfs file for ALS
  2015-01-21 18:38       ` Darren Hart
@ 2015-01-21 22:32         ` Gabriele Mazzotta
  0 siblings, 0 replies; 10+ messages in thread
From: Gabriele Mazzotta @ 2015-01-21 22:32 UTC (permalink / raw)
  To: Darren Hart
  Cc: mjg59, pali.rohar, linux-kernel, platform-driver-x86, A.Sloman,
	computersforpeace

On Wednesday 21 January 2015 10:38:23 Darren Hart wrote:
> On Sun, Jan 18, 2015 at 07:34:17PM +0100, Gabriele Mazzotta wrote:
> > On Sunday 18 January 2015 10:08:21 Darren Hart wrote:
> > > On Wed, Jan 14, 2015 at 03:07:21PM +0100, Gabriele Mazzotta wrote:
> > > > Hi,
> > > > 
> > > > I decided to remove "als" from input_triggers and created a dedicated
> > > > sysfs file for it. Having it there was wrong and misleading.
> > > > I also updated the documentation to reflect this change and fixed the
> > > > wrong description of als_setting, now used for als_enabled.
> > > 
> > > Given this is a significant functional change, as opposed to a bug fix, I'm
> > > leaning toward reverting the original and adding back the corrected version to
> > > 3.20. I'm going to look at the total impact first - let me know if you have a
> > > strong argument one way or the other.
> > 
> > I'm not against this decision.
> > If you do, please remember to also revert the commit that added the
> > documentation.
> 
> Then for my pull request to Linus this week, I'll be reverting:
> 
> 02b2aaa platform: x86: dell-laptop: Add support for keyboard backlight
> 3161293 Documentation: Add entry for dell-laptop sysfs interface
> 
> Am I missing anything?

No, that's all.

Thanks,
Gabriele

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

* Re: [PATCH] dell-laptop: use dedicated sysfs file for ALS
  2015-01-14 14:05 [PATCH] dell-laptop: use dedicated sysfs file for ALS Gabriele Mazzotta
  2015-01-14 14:07 ` Gabriele Mazzotta
  2015-01-18 17:52 ` Darren Hart
@ 2015-02-10  9:36 ` Pali Rohár
  2015-02-13 14:30   ` Gabriele Mazzotta
  2 siblings, 1 reply; 10+ messages in thread
From: Pali Rohár @ 2015-02-10  9:36 UTC (permalink / raw)
  To: Gabriele Mazzotta
  Cc: mjg59, dvhart, linux-kernel, platform-driver-x86, A.Sloman,
	computersforpeace

[-- Attachment #1: Type: Text/Plain, Size: 672 bytes --]

On Wednesday 14 January 2015 15:05:57 Gabriele Mazzotta wrote:
> The ambient light sensor doesn't act like an input trigger, so
> it has to be kept separate. The sensor readings are used to
> determine whether the conditions to change the keyboard
> illumination are satisfied or not the moment an input trigger
> is used. Ambient light changes alone can't change the
> keyboard backlight illumination and don't restart the timer.
> 
> Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
> ---

Gabriele, can you look and integrate this patch into full 
keyboard backlight support? Ideally send new full one...

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [PATCH] dell-laptop: use dedicated sysfs file for ALS
  2015-02-10  9:36 ` Pali Rohár
@ 2015-02-13 14:30   ` Gabriele Mazzotta
  2015-02-18 19:09     ` Pali Rohár
  0 siblings, 1 reply; 10+ messages in thread
From: Gabriele Mazzotta @ 2015-02-13 14:30 UTC (permalink / raw)
  To: Pali Rohár
  Cc: mjg59, dvhart, linux-kernel, platform-driver-x86, A.Sloman,
	computersforpeace

On Tuesday 10 February 2015 10:36:21 Pali Rohár wrote:
> On Wednesday 14 January 2015 15:05:57 Gabriele Mazzotta wrote:
> > The ambient light sensor doesn't act like an input trigger, so
> > it has to be kept separate. The sensor readings are used to
> > determine whether the conditions to change the keyboard
> > illumination are satisfied or not the moment an input trigger
> > is used. Ambient light changes alone can't change the
> > keyboard backlight illumination and don't restart the timer.
> > 
> > Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
> > ---
> 
> Gabriele, can you look and integrate this patch into full 
> keyboard backlight support? Ideally send new full one...

I will do that soon.

Darren, do you prefer one single patch or should I send Pali's patch
and my changes in different patches (that can be later squashed) to make
the review easier?

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

* Re: [PATCH] dell-laptop: use dedicated sysfs file for ALS
  2015-02-13 14:30   ` Gabriele Mazzotta
@ 2015-02-18 19:09     ` Pali Rohár
  0 siblings, 0 replies; 10+ messages in thread
From: Pali Rohár @ 2015-02-18 19:09 UTC (permalink / raw)
  To: Gabriele Mazzotta
  Cc: mjg59, dvhart, linux-kernel, platform-driver-x86, A.Sloman,
	computersforpeace

[-- Attachment #1: Type: Text/Plain, Size: 1173 bytes --]

On Friday 13 February 2015 15:30:42 Gabriele Mazzotta wrote:
> On Tuesday 10 February 2015 10:36:21 Pali Rohár wrote:
> > On Wednesday 14 January 2015 15:05:57 Gabriele Mazzotta 
wrote:
> > > The ambient light sensor doesn't act like an input
> > > trigger, so it has to be kept separate. The sensor
> > > readings are used to determine whether the conditions to
> > > change the keyboard illumination are satisfied or not the
> > > moment an input trigger is used. Ambient light changes
> > > alone can't change the keyboard backlight illumination
> > > and don't restart the timer.
> > > 
> > > Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
> > > ---
> > 
> > Gabriele, can you look and integrate this patch into full
> > keyboard backlight support? Ideally send new full one...
> 
> I will do that soon.
> 
> Darren, do you prefer one single patch or should I send Pali's
> patch and my changes in different patches (that can be later
> squashed) to make the review easier?

Gabriele, I think you should send patch now. Just integrate all 
changes to one (this could be easy) and send it.

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2015-02-18 19:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-14 14:05 [PATCH] dell-laptop: use dedicated sysfs file for ALS Gabriele Mazzotta
2015-01-14 14:07 ` Gabriele Mazzotta
2015-01-18 18:08   ` Darren Hart
2015-01-18 18:34     ` Gabriele Mazzotta
2015-01-21 18:38       ` Darren Hart
2015-01-21 22:32         ` Gabriele Mazzotta
2015-01-18 17:52 ` Darren Hart
2015-02-10  9:36 ` Pali Rohár
2015-02-13 14:30   ` Gabriele Mazzotta
2015-02-18 19:09     ` Pali Rohár

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.