Taras Kondratiuk
a238dcfa84
i2c: davinci: raw read and write endian fix
...
I2C IP block expect LE data, but CPU may operate in BE mode.
Need to use endian neutral functions to read/write h/w registers.
I.e instead of __raw_read[lw] and __raw_write[lw] functions code
need to use read[lw]_relaxed and write[lw]_relaxed functions.
If the first simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2013-11-26 13:38:44 +01:00
..
2012-03-28 18:30:03 +01:00
2012-12-22 20:13:45 +01:00
2012-12-22 20:13:45 +01:00
2012-12-22 20:13:45 +01:00
2013-04-02 07:06:03 +02:00
2012-12-22 20:13:45 +01:00
2012-12-22 20:13:45 +01:00
2013-11-15 09:32:21 +09:00
2013-02-22 00:25:50 +01:00
2013-11-15 09:32:21 +09:00
2013-11-18 15:50:07 -08:00
2013-09-30 06:02:33 +02:00
2013-11-15 23:25:25 +01:00
2013-10-24 11:50:35 +01:00
2013-11-26 13:38:44 +01:00
2013-11-15 09:32:21 +09:00
2013-08-28 11:11:10 +02:00
2013-04-19 20:22:10 +02:00
2013-11-18 15:50:07 -08:00
2012-08-18 12:27:27 +02:00
2013-11-17 19:29:58 +01:00
2012-12-22 20:13:45 +01:00
2013-11-18 15:50:07 -08:00
2013-10-30 16:46:30 +01:00
2013-02-22 00:25:50 +01:00
2012-12-22 20:13:45 +01:00
2013-11-14 18:38:04 +01:00
2013-10-09 20:04:04 -05:00
2013-10-10 10:22:29 +02:00
2013-07-01 07:48:58 +02:00
2013-02-11 15:53:49 +01:00
2013-11-15 09:32:21 +09:00
2013-08-05 10:31:18 +02:00
2013-10-09 20:04:04 -05:00
2013-10-03 22:00:41 +02:00
2013-11-18 15:50:07 -08:00
2013-04-02 07:06:03 +02:00
2013-01-28 05:26:42 +01:00
2013-08-23 10:22:20 +02:00
2013-08-19 19:46:30 +02:00
2013-08-23 10:22:20 +02:00
2013-08-23 10:22:20 +02:00
2013-11-15 09:32:21 +09:00
2012-12-22 20:13:45 +01:00
2012-10-05 22:23:53 +02:00
2012-12-22 20:13:45 +01:00
2012-12-22 20:13:45 +01:00
2013-08-19 19:46:30 +02:00
2013-08-15 15:17:31 +02:00
2013-02-22 00:25:50 +01:00
2013-10-30 16:46:30 +01:00
2013-10-09 20:04:04 -05:00
2013-08-15 12:26:31 +02:00
2013-02-22 00:25:50 +01:00
2013-08-23 10:22:20 +02:00
2013-11-01 14:10:00 +01:00
2013-10-30 16:46:30 +01:00
2013-08-19 19:46:30 +02:00
2012-05-17 15:15:56 +02:00
2013-11-01 14:09:53 +01:00
2013-08-19 19:46:30 +02:00
2013-10-31 12:45:44 +01:00
2013-08-28 11:46:03 +02:00
2012-12-22 20:13:45 +01:00
2013-02-11 15:59:40 +01:00
2012-12-22 20:13:45 +01:00
2013-11-18 15:50:07 -08:00
2013-10-10 10:22:30 +02:00
2013-02-22 00:25:50 +01:00
2013-11-15 09:32:21 +09:00
2013-08-19 19:46:38 +02:00
2013-08-23 10:22:20 +02:00
2012-12-22 20:13:45 +01:00
2012-12-22 20:13:45 +01:00
2013-04-02 07:06:03 +02:00
2013-11-18 15:50:07 -08:00
2013-10-30 16:46:30 +01:00
2013-02-26 09:41:53 -08:00
2013-11-15 23:47:09 +01:00
2013-11-15 23:47:09 +01:00
2013-02-22 00:25:50 +01:00
2012-10-05 22:23:52 +02:00