On Wed, Feb 13, 2013 at 01:00:50PM +0100, Enrico Scholz wrote:
> E.g. when doing something like
>
> struct i2c_msg xfer = {
> .buf = "something",
> ...
> };
>
> ret = i2c_transfer(client->adapter, &xfer, 1);
>
> random data will be sent because buf is not DMA mapable ("something" is
> located in the .strtab section within module memory). MXS has a memory
> layout like
DMA buffers must be located in lowmem *always*. This means placing them
in the .data segment does not work. USB has been through this already
and it's well known there...
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html