Re: [RFC 05/23] i2c: omap: raw read and write endian fix

From: Wolfram Sang
Date: Tue Nov 26 2013 - 07:42:45 EST



> @@ -1142,7 +1142,7 @@ omap_i2c_probe(struct platform_device *pdev)
> * Also since the omap_i2c_read_reg uses reg_map_ip_* a
> * raw_readw is done.
> */
> - rev = __raw_readw(dev->base + 0x04);
> + rev = readw_relaxed(dev->base + 0x04);
>
> dev->scheme = OMAP_I2C_SCHEME(rev);
> switch (dev->scheme) {

Part of the comment above must be removed, too.

Attachment: signature.asc
Description: Digital signature