lkml.org 
[lkml]   [2015]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5] power_supply: max77693: Properly handle error conditions
Hi,

On Tue, Feb 24, 2015 at 10:54:43AM +0100, Krzysztof Kozlowski wrote:
> Re-work and fix handling of errors when retrieving power supply
> properties:
>
> 1. Return errno values directly from get_property() instead of storing
> 'unknown' as intval for given property.
>
> 2. Handle regmap_read() errors when getting 'online' and 'present'
> proprties and return errno code. Previously the regmap_read() return
> code was ignored so an uninitialized value from the stack could be
> used for calculating the property.

Thanks, whole patchset pulled into battery-2.6.git.

-- Sebastian
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-02-25 22:21    [W:0.098 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site