mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <>
To: Matthias Fend <>,
Subject: Re: i2c: Rockchip i2c controller support
Date: Tue, 3 May 2022 13:13:18 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Hello Matthias,

On 03.05.22 12:11, Matthias Fend wrote:
> Hi,
> it looks to me like the rockchip_i2c_xfer function returns 0 if everything was successful, but shouldn't the i2c master_xfer functions return the number of messages actually processed?
> I was just wondering about reading sources and can't do real world testing due to lack of hardware...

I think you're right. I tested this only with the RK808 PMIC on the Nano Pi N10
and noticed no problems, but it seems that was just me being lucky.

I'll give it a test with fixed return value and send a patch in the
coming days.

Thanks for the review!


>  ~Matthias

Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       |  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

barebox mailing list

      reply	other threads:[~2022-05-03 11:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03 10:11 Matthias Fend
2022-05-03 11:13 ` Ahmad Fatoum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox