On 2014年06月17日 09:27, David Rientjes wrote:
> On Mon, 16 Jun 2014, Lan Tianyu wrote:
>
How about this?
- result = acpi_battery_update(battery, false);
- if (result)
+
+ /*
+* Some machines'(E,G Lenovo Z480) ECs are not stable
+
On Mon, 16 Jun 2014, Lan Tianyu wrote:
> >> How about this?
> >>
> >> - result = acpi_battery_update(battery, false);
> >> - if (result)
> >> +
> >> + /*
> >> +* Some machines'(E,G Lenovo Z480) ECs are not stable
> >> +* during boot up and this causes battery
On 2014年06月17日 09:27, David Rientjes wrote:
On Mon, 16 Jun 2014, Lan Tianyu wrote:
How about this?
- result = acpi_battery_update(battery, false);
- if (result)
+
+ /*
+* Some machines'(E,G Lenovo Z480) ECs are not stable
+* during boot up and this
On Mon, 16 Jun 2014, Lan Tianyu wrote:
How about this?
- result = acpi_battery_update(battery, false);
- if (result)
+
+ /*
+* Some machines'(E,G Lenovo Z480) ECs are not stable
+* during boot up and this causes battery driver fails to be
+
@kernel.org; nas...@ya.ru;
>> linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org
>> Subject: Re: [PATCH] ACPI/Battery: Retry to get Battery information if
>> failed during probing
>>
>> On 2014年06月14日 05:46, David Rientjes wrote:
>>> On Fri, 13 Ju
el@vger.kernel.org
> Subject: Re: [PATCH] ACPI/Battery: Retry to get Battery information if failed
> during probing
>
> On 2014年06月14日 05:46, David Rientjes wrote:
> > On Fri, 13 Jun 2014, Lan Tianyu wrote:
> >
> >> How about this?
> >>
> >> -
On 2014年06月14日 05:46, David Rientjes wrote:
> On Fri, 13 Jun 2014, Lan Tianyu wrote:
>
>> How about this?
>>
>> - result = acpi_battery_update(battery, false);
>> - if (result)
>> +
>> + /*
>> +* Some machines'(E,G Lenovo Z480) ECs are not stable
>> +* during
On 2014年06月14日 05:46, David Rientjes wrote:
On Fri, 13 Jun 2014, Lan Tianyu wrote:
How about this?
- result = acpi_battery_update(battery, false);
- if (result)
+
+ /*
+* Some machines'(E,G Lenovo Z480) ECs are not stable
+* during boot up and this
: [PATCH] ACPI/Battery: Retry to get Battery information if failed
during probing
On 2014年06月14日 05:46, David Rientjes wrote:
On Fri, 13 Jun 2014, Lan Tianyu wrote:
How about this?
- result = acpi_battery_update(battery, false);
- if (result
; linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ACPI/Battery: Retry to get Battery information if
failed during probing
On 2014年06月14日 05:46, David Rientjes wrote:
On Fri, 13 Jun 2014, Lan Tianyu wrote:
How about this?
- result = acpi_battery_update(battery, false
On Fri, 13 Jun 2014, Lan Tianyu wrote:
> How about this?
>
> - result = acpi_battery_update(battery, false);
> - if (result)
> +
> + /*
> +* Some machines'(E,G Lenovo Z480) ECs are not stable
> +* during boot up and this causes battery driver fails to be
> +
On Fri, 13 Jun 2014, Lan Tianyu wrote:
How about this?
- result = acpi_battery_update(battery, false);
- if (result)
+
+ /*
+* Some machines'(E,G Lenovo Z480) ECs are not stable
+* during boot up and this causes battery driver fails to be
+*
On 2014年06月13日 05:17, David Rientjes wrote:
> On Thu, 12 Jun 2014, Lan Tianyu wrote:
>
>> The retry time is set by randomly and not accurate because don't know
>> when EC will work normally. Set the retry time to 5 just in order to
>> make sure battery driver probing sucessfully every time,
>>
>
On Thu, 12 Jun 2014, Lan Tianyu wrote:
> The retry time is set by randomly and not accurate because don't know
> when EC will work normally. Set the retry time to 5 just in order to
> make sure battery driver probing sucessfully every time,
>
Ok, I was hoping to avoid the excessive wait if it
On 2014年06月12日 15:26, David Rientjes wrote:
> On Thu, 12 Jun 2014, Lan Tianyu wrote:
>
Some machines'(E,G Lenovo Z480) ECs are not stable during boot up
and causes battery driver fails to be probed due to failure of getting
battery information from EC sometimes. After several
On Thu, 12 Jun 2014, Lan Tianyu wrote:
> >> Some machines'(E,G Lenovo Z480) ECs are not stable during boot up
> >> and causes battery driver fails to be probed due to failure of getting
> >> battery information from EC sometimes. After several retries, the
> >> operation will work. This patch is
On 2014年06月12日 14:55, David Rientjes wrote:
> On Thu, 12 Jun 2014, Lan Tianyu wrote:
>
>> Some machines'(E,G Lenovo Z480) ECs are not stable during boot up
>> and causes battery driver fails to be probed due to failure of getting
>> battery information from EC sometimes. After several retries,
On Thu, 12 Jun 2014, Lan Tianyu wrote:
> Some machines'(E,G Lenovo Z480) ECs are not stable during boot up
> and causes battery driver fails to be probed due to failure of getting
> battery information from EC sometimes. After several retries, the
> operation will work. This patch is to retry to
Some machines'(E,G Lenovo Z480) ECs are not stable during boot up
and causes battery driver fails to be probed due to failure of getting
battery information from EC sometimes. After several retries, the
operation will work. This patch is to retry to get battery information 5
times if the first try
Some machines'(E,G Lenovo Z480) ECs are not stable during boot up
and causes battery driver fails to be probed due to failure of getting
battery information from EC sometimes. After several retries, the
operation will work. This patch is to retry to get battery information 5
times if the first try
On Thu, 12 Jun 2014, Lan Tianyu wrote:
Some machines'(E,G Lenovo Z480) ECs are not stable during boot up
and causes battery driver fails to be probed due to failure of getting
battery information from EC sometimes. After several retries, the
operation will work. This patch is to retry to get
On 2014年06月12日 14:55, David Rientjes wrote:
On Thu, 12 Jun 2014, Lan Tianyu wrote:
Some machines'(E,G Lenovo Z480) ECs are not stable during boot up
and causes battery driver fails to be probed due to failure of getting
battery information from EC sometimes. After several retries, the
On Thu, 12 Jun 2014, Lan Tianyu wrote:
Some machines'(E,G Lenovo Z480) ECs are not stable during boot up
and causes battery driver fails to be probed due to failure of getting
battery information from EC sometimes. After several retries, the
operation will work. This patch is to retry to
On 2014年06月12日 15:26, David Rientjes wrote:
On Thu, 12 Jun 2014, Lan Tianyu wrote:
Some machines'(E,G Lenovo Z480) ECs are not stable during boot up
and causes battery driver fails to be probed due to failure of getting
battery information from EC sometimes. After several retries, the
On Thu, 12 Jun 2014, Lan Tianyu wrote:
The retry time is set by randomly and not accurate because don't know
when EC will work normally. Set the retry time to 5 just in order to
make sure battery driver probing sucessfully every time,
Ok, I was hoping to avoid the excessive wait if it will
On 2014年06月13日 05:17, David Rientjes wrote:
On Thu, 12 Jun 2014, Lan Tianyu wrote:
The retry time is set by randomly and not accurate because don't know
when EC will work normally. Set the retry time to 5 just in order to
make sure battery driver probing sucessfully every time,
Ok, I was
26 matches
Mail list logo