Re: [PATCH v2 2/6] Add the main bulk of core driver for SI476x code

2012-10-09 Thread Andrey Smirnov
On 10/08/2012 11:33 PM, Mark Brown wrote: > On Fri, Oct 05, 2012 at 06:54:58PM -0700, Andrey Smirnov wrote: > >> +err = regulator_enable(core->supplies.va); >> +if (err < 0) >> +break; >> + >> +

Re: [PATCH v2 2/6] Add the main bulk of core driver for SI476x code

2012-10-08 Thread Mark Brown
On Fri, Oct 05, 2012 at 06:54:58PM -0700, Andrey Smirnov wrote: > + err = regulator_enable(core->supplies.va); > + if (err < 0) > + break; > + > + err = regulator_enable(core->supplies.vio2

[PATCH v2 2/6] Add the main bulk of core driver for SI476x code

2012-10-05 Thread Andrey Smirnov
This patch adds main part(out of three) of the I2C driver for the "core" of MFD device. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-i2c.c | 972 ++ 1 file changed, 972 insertions(+) create mode 100644 drivers/mfd/si476x-i2c.c diff --git a/d