i2c-mpc: bug fix for MPC52xx clock setting and printout
commit1904b03430ade1cd621bb8b6ca8e38819a2f9267
authorWolfgang Grandegger <wg@grandegger.com>
Thu, 9 Apr 2009 09:59:52 +0000 (9 11:59 +0200)
committerBen Dooks <ben-linux@fluff.org>
Mon, 11 May 2009 23:35:56 +0000 (12 00:35 +0100)
treeb1ab85ad3b61f2fa2f1b150ab4f74de1f8895cbf
parentd10db3a07e38bfb1bff92c790072d85b0bcc07eb
i2c-mpc: bug fix for MPC52xx clock setting and printout

The clock setting did not work for the MPC52xx due to a stupid bug.
Furthermore, the dev info output "clock=0" for old device trees was
misleading. This patch fixes both issues.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-mpc.c