Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1305382 > unrolled thread

Re: [PATCH] power_suply: isp1704_charger: Fix isp1704_write() definition

Started byPali Rohár <pali.rohar@gmail.com>
First post2016-01-09 23:50 +0100
Last post2016-01-09 23:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] power_suply: isp1704_charger: Fix isp1704_write() definition Pali Rohár <pali.rohar@gmail.com> - 2016-01-09 23:50 +0100

#1305382 — Re: [PATCH] power_suply: isp1704_charger: Fix isp1704_write() definition

FromPali Rohár <pali.rohar@gmail.com>
Date2016-01-09 23:50 +0100
SubjectRe: [PATCH] power_suply: isp1704_charger: Fix isp1704_write() definition
Message-ID<qPauD-3CC-29@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Friday 01 January 2016 12:26:21 Pali Rohár wrote:
> On Friday 01 January 2016 12:03:29 Ivaylo Dimitrov wrote:
> > All calls to isp1704_write() are using parameter sequence of
> > isp1704_write(isp, reg, val) but the function is defined as
> > isp1704_write(isp, val, reg). Fix isp1704_write function definition
> > so that the driver to be functional.
> > 
> > Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
> 
> Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
> 
> This problem is there since inclusion of driver itself. No idea why
> that driver could work... I remember that it detected correctly type
> of charger.
> 
> I will test this patch on real N900 HW in one or two weeks to check
> how it behave after patching...

Tested-by: Pali Rohár <pali.rohar@gmail.com>

Please send this patch to all stable kernels.

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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web