[PATCH 01/11] MFD: DA9052/53 MFD core module v4

2011-08-18 Thread ashishj3
The DA9052 is a highly integrated PMIC subsystem with supply domain flexibility to support wide range of high performance application. It provides voltage regulators, GPIO controller, Touch Screen, RTC, Battery control and other functionality. Signed-off-by: David Dajun Chen dc...@diasemi.com

Re: [PATCH 01/11] MFD: DA9052/53 MFD core module v4

2011-08-18 Thread Mark Brown
On Thu, Aug 18, 2011 at 07:23:22PM +0530, ashishj3 wrote: +int da9052_reg_read(struct da9052 *da9052, unsigned char reg) +{ + int val, ret; + + if (reg DA9052_MAX_REG_CNT) { + dev_err(da9052-dev, invalid reg %x\n, reg); + return -EINVAL; + } + +