[PATCH v2] i2c: Add support for DesignWare controllers

Trent Piepho tpiepho at kymetacorp.com
Wed Nov 18 17:26:47 PST 2015


On Mon, 2015-11-09 at 07:20 +0100, Sascha Hauer wrote:
> On Sun, Nov 08, 2015 at 04:18:46PM -0800, Andrey Smirnov wrote:
> > Add a driver for DesignWare I2C controller IP block found on several
> > SoCs including Altera SoC products
> > 
> > Tested using Terrasic SoCKit board and GPIO expander board with I2C
> > EEPROM on it
> > 
> > Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>

> > +	uint32_t ic_con, ic_comp_type_value;
> > +
> > +	pdata = pdev->platform_data;
> > +
> > +	dw = xzalloc(sizeof(*dw), GFP_KERNEL);
> > +

Doesn't compile, xzalloc() has one argument, no page flags.


More information about the barebox mailing list