[PATCH v2] i2c: Add support for DesignWare controllers

Andrey Smirnov andrew.smirnov at gmail.com
Wed Nov 18 20:09:05 PST 2015


On Wed, Nov 18, 2015 at 5:26 PM, Trent Piepho <tpiepho at kymetacorp.com> wrote:
> 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.

*Sigh* Looks like I didn't do a good job testing v2 patchset, my bad,
sorry. I'll submit a patch to fix this, unless either of you guys
already did so.

Once again, I apologize for making such an obvious mistake.



More information about the barebox mailing list