Re: linux-next: build failures after merge of the drm tree

2014-08-10 Thread Sachin Kamat
On Sun, Aug 10, 2014 at 1:28 PM, Dave Airlie wrote: >> > > Been on holidays, but ack for anything DT related, > > Look I wishI knew how DT worked, and what tree is canonical for changes to > it, I'm not sure its well defined enough or sub maintaniers know enough, > so I do just trust the exynos gu

Re: [PATCH RESEND] usb: ehci/ohci-exynos: Fix PHY getting sequence

2014-08-05 Thread Sachin Kamat
ue with ehci-exynos and ohci-exynos, wherein > in the absence of SAMSUNG_USB2PHY config symbol, we end up getting > the NOP_USB_XCEIV phy when the same is enabled. And thus the PHYs > are not configured properly. > > Reported-by: Sachin Kamat > Signed-off-by: Vivek Gautam >

Re: [PATCH 1/1] MAINTAINERS: Update Samsung pin control entry

2014-07-25 Thread Sachin Kamat
On Fri, Jul 11, 2014 at 3:41 PM, Tomasz Figa wrote: > On 11.07.2014 11:57, Sachin Kamat wrote: >> + Tomasz >> >> Sorry for missing the maintainer himself :) >> >> On Fri, Jul 11, 2014 at 2:29 PM, Sachin Kamat >> wrote: >>> Update to ref

Re: [PATCH v2] Input: soc_button_array: Remove kfree on data allocated with devm_zalloc

2014-07-25 Thread Sachin Kamat
the error lables and instead releases resources and returns > after failures > > CC: Dmitry Torokhov > CC: Lejun Zhu > CC: Sachin Kamat > > Signed-off-by: Pramod Gurav > --- > > Changes since v1: > - Removes de_err logs on OOM cases which is not nee

Re: [PATCH] Input: soc_button_array: Remove kfree on data allocated with devm_zalloc

2014-07-25 Thread Sachin Kamat
from err_free_mem to err_mem. > - Adds couple of dev_err on failure to allocate memory > > CC: Dmitry Torokhov > CC: Lejun Zhu > CC: Sachin Kamat > > Signed-off-by: Pramod Gurav > --- > drivers/input/misc/soc_button_array.c | 19 ++- > 1 file chang

[PATCH Resend 2/2] mfd: tps65912-spi: Remove unused variable

2014-07-18 Thread Sachin Kamat
‘rx_buf’ is not used in this function. Signed-off-by: Sachin Kamat --- drivers/mfd/tps65912-spi.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/tps65912-spi.c b/drivers/mfd/tps65912-spi.c index 69a5178bf152..de60ad98bd9f 100644 --- a/drivers/mfd/tps65912

[PATCH 1/2 Resend] mfd: htc-i2cpld: Remove unused code

2014-07-18 Thread Sachin Kamat
Removed code unused in this function. Signed-off-by: Sachin Kamat Cc: Cory Maccarrone --- Compile tested. --- drivers/mfd/htc-i2cpld.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/mfd/htc-i2cpld.c b/drivers/mfd/htc-i2cpld.c index d7b2a75aca3e..b44f0203983b 100644 --- a

Re: [PATCH 1/4 v2] iio: exyno-adc: use syscon for PMU register access

2014-07-17 Thread Sachin Kamat
Hi Naveen, On Thu, Jul 17, 2014 at 4:49 PM, Naveen Krishna Chatradhi wrote: > This patch updates the IIO based ADC driver to use syscon and regmap > APIs to access and use PMU registers instead of remapping the PMU > registers in the driver. > > Signed-off-by: Naveen Krishna Chatradhi > To: linu

[PATCH v3 1/2] phy: Kconfig: Re-organize Exynos USB 2.0 PHY configs

2014-07-14 Thread Sachin Kamat
that they are meant to work with. This will make life easier for end users who do not have any way knowing the dependencies. Signed-off-by: Sachin Kamat Reviewed-by: Jingoo Han --- Changes since v3: * Rebased the series on top of latest PHY tree [1]. [1] git://git.kernel.org/pub/scm/linux/kernel

[PATCH 2/2] phy: Kconfig: Update config for Exynos USB DRD

2014-07-14 Thread Sachin Kamat
USB DWC3 driver on Exynos platform does not work without its corresponding phy driver. Hence make the PHY driver depend on Exynos DWC3 driver and default it to yes to make things easier for the end user. Signed-off-by: Sachin Kamat Reviewed-by: Jingoo Han --- drivers/phy/Kconfig |2 ++ 1

Re: [PATCH v2 1/2] phy: Kconfig: Re-organize Exynos USB 2.0 PHY configs

2014-07-14 Thread Sachin Kamat
On Mon, Jul 14, 2014 at 2:39 PM, Kishon Vijay Abraham I wrote: > > > On Monday 14 July 2014 02:36 PM, Sachin Kamat wrote: >> On Mon, Jul 14, 2014 at 2:32 PM, Kishon Vijay Abraham I >> wrote: >>> >>> >>> On Monday 14 July 2014 02:29 PM, Sachin Kama

Re: [PATCH v2 1/2] phy: Kconfig: Re-organize Exynos USB 2.0 PHY configs

2014-07-14 Thread Sachin Kamat
On Mon, Jul 14, 2014 at 2:32 PM, Kishon Vijay Abraham I wrote: > > > On Monday 14 July 2014 02:29 PM, Sachin Kamat wrote: >> Hi, >> >> On Mon, Jul 14, 2014 at 2:26 PM, Kishon Vijay Abraham I >> wrote: >>> Hi, >>> >>> On Wednesday 09 Ju

Re: [PATCH v2 1/2] phy: Kconfig: Re-organize Exynos USB 2.0 PHY configs

2014-07-14 Thread Sachin Kamat
Hi, On Mon, Jul 14, 2014 at 2:26 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 09 July 2014 05:19 PM, Sachin Kamat wrote: >> Since the USB 2.0 PHYs are required with EHCI/OHCI USB drivers and >> USB gadget controller supported by the DWC2 gadget driver, make it

[PATCH 1/1] mfd: tps65912-spi: Remove unused variable

2014-07-11 Thread Sachin Kamat
‘rx_buf’ is not used in this function. Signed-off-by: Sachin Kamat --- drivers/mfd/tps65912-spi.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/tps65912-spi.c b/drivers/mfd/tps65912-spi.c index 69a5178bf152..de60ad98bd9f 100644 --- a/drivers/mfd/tps65912

[PATCH 1/1] mfd: htc-i2cpld: Remove unused code

2014-07-11 Thread Sachin Kamat
Removed code unused in this function. Signed-off-by: Sachin Kamat --- Compile tested. --- drivers/mfd/htc-i2cpld.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/mfd/htc-i2cpld.c b/drivers/mfd/htc-i2cpld.c index d7b2a75aca3e..b44f0203983b 100644 --- a/drivers/mfd/htc

Re: [PATCH 1/1] MAINTAINERS: Update Samsung pin control entry

2014-07-11 Thread Sachin Kamat
+ Tomasz Sorry for missing the maintainer himself :) On Fri, Jul 11, 2014 at 2:29 PM, Sachin Kamat wrote: > Update to reflect the recent file movement to a sub-directory. > > Signed-off-by: Sachin Kamat > --- > MAINTAINERS |4 +--- > 1 file changed, 1 insertion(+), 3 del

Re: [PATCH 2/4] Documentation: dt-bindings: move exynos-adc.txt to more iio/adc/

2014-07-11 Thread Sachin Kamat
Hi Naveen, On Fri, Jul 11, 2014 at 2:36 PM, Naveen Krishna Chatradhi wrote: > The DT bindings in exynos-adc.txt applies to the ADC > driver (exynos-adc.c) developed based on IIO framework. > > The bindings are more appropriate to be under > Documentation/devicetree/bindings/iio/adc/ > > Signed-of

[PATCH 1/1] MAINTAINERS: Update Samsung pin control entry

2014-07-11 Thread Sachin Kamat
Update to reflect the recent file movement to a sub-directory. Signed-off-by: Sachin Kamat --- MAINTAINERS |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e3a517635eb4..898cf76f8837 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6943,9

Re: [PATCH 12/16] i2c: i2c-s3c2410: Drop class based scanning to improve bootup time

2014-07-10 Thread Sachin Kamat
t;adap.retries = 2; > - i2c->adap.class = I2C_CLASS_HWMON | I2C_CLASS_SPD | > I2C_CLASS_DEPRECATED; > - i2c->tx_setup = 50; > + i2c->adap.class = I2C_CLASS_DEPRECATED; > + i2c->tx_setup = 50; > > init_waitqueue_head(&i2c->wait);

[PATCH 1/1] pinctrl: samsung: Group all drivers in a sub-dir

2014-07-10 Thread Sachin Kamat
Group all pin control drivers of Samsung platform together in a sub-directory for easy maintenance. Signed-off-by: Sachin Kamat --- This patch has been inspired by a similar patch [1] from Linus Walleij for Qualcomm drivers. I have boot tested this patch on Exynos boards and compile tested for

Re: [PATCH 1/3] usb: usb3503: fix build warning

2014-07-09 Thread Sachin Kamat
Hi Joonyoung, On Thu, Jul 10, 2014 at 9:53 AM, Joonyoung Shim wrote: > This fixes below build warning. > > drivers/usb/misc/usb3503.c: In function ‘usb3503_probe’: > drivers/usb/misc/usb3503.c:195:11: warning: ‘err’ may be used uninitialized > in this function [-Wmaybe-uninitialized] > dev_e

[PATCH v2 1/2] phy: Kconfig: Re-organize Exynos USB 2.0 PHY configs

2014-07-09 Thread Sachin Kamat
that they are meant to work with. This will make life easier for end users who do not have any way knowing the dependencies. Signed-off-by: Sachin Kamat --- Changes since v1: * Added dependency on DWC2 gadget driver as suggested by Tomasz Figa. --- drivers/phy/Kconfig | 35

[PATCH v2 2/2] phy: Kconfig: Update config for Exynos USB DRD

2014-07-09 Thread Sachin Kamat
USB DWC3 driver on Exynos platform does not work without its corresponding phy driver. Hence make the PHY driver depend on Exynos DWC3 driver and default it to yes to make things easier for the end user. Signed-off-by: Sachin Kamat --- No changes since v1. --- drivers/phy/Kconfig |2 ++ 1

Re: [PATCH 1/2] phy: Kconfig: Re-organize Exynos USB 2.0 PHY configs

2014-07-08 Thread Sachin Kamat
Hi Tomasz, On Tue, Jul 8, 2014 at 9:15 PM, Tomasz Figa wrote: > On 30.06.2014 10:56, Sachin Kamat wrote: >> Since the USB 2.0 PHYs are required only with EHCI/OHCI USB drivers, > > That's not true. They are also required for USB gadget controller > supported by the DWC2

Re: [PATCH 1/1] ARM: imx: use PTR_ERR_OR_ZERO

2014-07-07 Thread Sachin Kamat
On Tue, Jul 8, 2014 at 10:49 AM, Shawn Guo wrote: > On Tue, Jul 08, 2014 at 09:18:56AM +0530, Sachin Kamat wrote: >> Hi Shawn, >> >> On Mon, Jul 7, 2014 at 11:25 AM, Shawn Guo wrote: >> > On Fri, Jul 04, 2014 at 09:03:10PM +0200, Fabian Frederick wrote

Re: [PATCH 1/2] phy: Kconfig: Re-organize Exynos USB 2.0 PHY configs

2014-07-07 Thread Sachin Kamat
On Mon, Jun 30, 2014 at 2:26 PM, Sachin Kamat wrote: > Since the USB 2.0 PHYs are required only with EHCI/OHCI USB drivers, > make it depend on them and default to ARCH_EXYNOS as they are meant > for Exynos platforms. Also, make the sub-drivers silent options enabling > them base

Re: [PATCH 1/1] ARM: imx: use PTR_ERR_OR_ZERO

2014-07-07 Thread Sachin Kamat
Hi Shawn, On Mon, Jul 7, 2014 at 11:25 AM, Shawn Guo wrote: > On Fri, Jul 04, 2014 at 09:03:10PM +0200, Fabian Frederick wrote: >> replace IS_ERR/PTR_ERR >> >> Cc: Shawn Guo >> Cc: Sascha Hauer >> Cc: linux-arm-ker...@lists.infradead.org >> Signed-off-by: Fabian Frederick > > Applied, thanks.

Re: linux-next: Tree for Jul 4

2014-07-05 Thread Sachin Kamat
On Sat, Jul 5, 2014 at 6:18 AM, J. Bruce Fields wrote: > On Sat, Jul 05, 2014 at 01:10:58AM +1000, Stephen Rothwell wrote: >> Hi Sachin, >> >> On Fri, 4 Jul 2014 14:12:11 +0530 Sachin Kamat wrote: >> > >> > Was bisecting a kernel crash on Arndale octa

Re: linux-next: Tree for Jul 4

2014-07-05 Thread Sachin Kamat
On Fri, Jul 4, 2014 at 8:40 PM, Stephen Rothwell wrote: > Hi Sachin, > > On Fri, 4 Jul 2014 14:12:11 +0530 Sachin Kamat wrote: >> >> Was bisecting a kernel crash on Arndale octa board (Exynos5420). It >> points to a merge >> commit: >> 40556a4c485d12d324

Re: [PATCH] iommu/exynos: Select ARM_DMA_USE_IOMMU

2014-07-04 Thread Sachin Kamat
IOMMU Support" > depends on ARCH_EXYNOS > select IOMMU_API > + select ARM_DMA_USE_IOMMU > help > Support for the IOMMU (System MMU) of Samsung Exynos application > processor family. This enables H/W multimedia accelerato

Re: linux-next: Tree for Jul 4

2014-07-04 Thread Sachin Kamat
Hi Stephen, Was bisecting a kernel crash on Arndale octa board (Exynos5420). It points to a merge commit: 40556a4c485d12d324f1ea196cc30f590e564237 is the first bad commit ("Merge remote-tracking branch 'nfsd/nfsd-next'"). How do I proceed with this? Bisect log as follows: git bisect start # goo

Re: [PATCH 2/6] irq_work: Implement remote queueing

2014-07-03 Thread Sachin Kamat
n Warren >> >> [with the s/static// already mentioned in this thread, obviously:-)] > > Right; I pushed out a fixed version right before loosing my tubes at the > airport :-) > > https://git.kernel.org/cgit/linux/kernel/git/peterz/queue.git/commit/?h=timers/nohz&id=921d8b81281ecdca686369f52165d04fa350

Re: [PATCH 09/16] MAINTAINERS: Update Samsunt MFD drivers pattern

2014-07-03 Thread Sachin Kamat
On Fri, Jul 4, 2014 at 5:23 AM, Sangbeom Kim wrote: > On Friday, July 04, 2014 7:08 AM, Joe Perches wrote: > >> F: drivers/regulator/s2m*.c >> F: drivers/regulator/s5m*.c >> -F: drivers/rtc/rtc-sec.c >> F: include/linux/mfd/samsung/ >> > > Yes, You are right. > There is no rtc-sec.c > I

Re: [PATCH 1/3] phy: exynos-dp-video: Use PTR_ERR_OR_ZERO

2014-07-02 Thread Sachin Kamat
On Thu, Jun 12, 2014 at 3:27 PM, Kishon Vijay Abraham I wrote: > > > On Thursday 12 June 2014 03:19 PM, Sachin Kamat wrote: >> Hi Kishon, >> >> On Mon, Jun 2, 2014 at 7:56 AM, Jingoo Han wrote: >>> On Thursday, May 29, 2014 3:31 PM, Sachin Kamat wrote: >

Re: [PATCH] ARM: dts: Add TMU dt node to monitor the temperature for Exynos3250

2014-07-01 Thread Sachin Kamat
On Wed, Jul 2, 2014 at 5:22 AM, Chanwoo Choi wrote: > On 07/01/2014 01:10 PM, Sachin Kamat wrote: >> Hi Chanwoo, >> >> On Tue, Jul 1, 2014 at 9:34 AM, Chanwoo Choi wrote: >>> Hi Sachin, >>> >>> On 07/01/2014 12:33 PM, Sachin Kamat wrote: >>&

[PATCH v2 1/1] clk: Fix build warnings

2014-07-01 Thread Sachin Kamat
d-variable] drivers/clk/clk.c:46:27: warning: ‘orphan_list’ defined but not used [-Wunused-variable] Signed-off-by: Sachin Kamat Cc: Peter De Schrijver --- Changes since v1: Moved the definitions under already existing #ifdefs. --- drivers/clk/clk.c | 22 +++--- 1 file c

Re: [PATCH 1/1] clk: Fix build warnings

2014-06-30 Thread Sachin Kamat
On Mon, Jun 30, 2014 at 7:07 PM, Peter De Schrijver wrote: > On Mon, Jun 30, 2014 at 11:40:54AM +0200, Sachin Kamat wrote: >> ‘all_lists’ and ‘orphan_list’ is accessed only when DEBUG_FS is defined. >> Thus, make their compilation conditional to fix the below warnings introduc

Re: [PATCH] ARM: dts: Add TMU dt node to monitor the temperature for Exynos3250

2014-06-30 Thread Sachin Kamat
Hi Chanwoo, On Tue, Jul 1, 2014 at 9:34 AM, Chanwoo Choi wrote: > Hi Sachin, > > On 07/01/2014 12:33 PM, Sachin Kamat wrote: >> Hi Chanwoo, >> >> On Tue, Jul 1, 2014 at 6:10 AM, Chanwoo Choi wrote: >>> This patch add TMU (Thermal Management Unit) dt node to

Re: [PATCH] ARM: dts: Add TMU dt node to monitor the temperature for Exynos3250

2014-06-30 Thread Sachin Kamat
Hi Chanwoo, On Tue, Jul 1, 2014 at 6:10 AM, Chanwoo Choi wrote: > This patch add TMU (Thermal Management Unit) dt node to monitor the high > temperature for Exynos3250. > > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > --- > This patch has a dependency on following patch [1]: > [1] h

[PATCH 1/1] clk: Fix build warnings

2014-06-30 Thread Sachin Kamat
d-variable] drivers/clk/clk.c:46:27: warning: ‘orphan_list’ defined but not used [-Wunused-variable] Signed-off-by: Sachin Kamat Cc: Peter De Schrijver --- drivers/clk/clk.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 7dfb2f308b35..a9

[PATCH 2/2] phy: Kconfig: Update config for Exynos USB DRD

2014-06-30 Thread Sachin Kamat
USB DWC3 driver on Exynos platform does not work without its corresponding phy driver. Hence make the PHY driver depend on Exynos DWC3 driver and default it to yes to make things easier for the end user. Signed-off-by: Sachin Kamat --- drivers/phy/Kconfig |2 ++ 1 file changed, 2 insertions

[PATCH 1/2] phy: Kconfig: Re-organize Exynos USB 2.0 PHY configs

2014-06-30 Thread Sachin Kamat
easier for end users who do not have any way knowing the dependencies. Signed-off-by: Sachin Kamat --- drivers/phy/Kconfig | 35 +++ 1 file changed, 11 insertions(+), 24 deletions(-) diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index 16a2f067c242

Re: [PATCH RESEND] ARM: EXYNOS: Do not calculate boot address twice

2014-06-26 Thread Sachin Kamat
_boot_reg() > again. > > Signed-off-by: Krzysztof Kozlowski > --- Thanks for the patch. Reviewed-by: Sachin Kamat Regards, Sachin. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 2/2] i2c: exynos5: fix minor styling nits

2014-06-25 Thread Sachin Kamat
Hi Naveen, On Wed, Jun 25, 2014 at 4:08 PM, Naveen Krishna Chatradhi wrote: > This patch removes an extra line and fixes a styling nit > in exynos5_i2c_message_start() > > Signed-off-by: Naveen Krishna Chatradhi > --- > drivers/i2c/busses/i2c-exynos5.c |3 +-- > 1 file changed, 1 insertion(

[PATCH 1/1] mfd: pm8921-core: Remove unused variable

2014-06-24 Thread Sachin Kamat
‘irq_bit’ is unused in the function. Remove it. Signed-off-by: Sachin Kamat --- Compile tested. --- drivers/mfd/pm8921-core.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/mfd/pm8921-core.c b/drivers/mfd/pm8921-core.c index 959513803542..39904f77c049 100644 --- a/drivers/mfd

[PATCH 1/1] regulator: s5m8767: Remove unused variable

2014-06-24 Thread Sachin Kamat
'size' is not used in the function. Remove it. Signed-off-by: Sachin Kamat --- drivers/regulator/s5m8767.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c index c79af943a5c0..0ab5cbeeb797 100644 ---

[PATCH 1/2] regulator: tps65217: Fix build warnings

2014-06-24 Thread Sachin Kamat
ned expression < 0 is always false [-Wtype-limits] Signed-off-by: Sachin Kamat --- Series compile tested. --- drivers/regulator/tps65217-regulator.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/tps65217-regulator.c b/drivers/regulator/tps65217-regul

[PATCH 2/2] regulator: tps65218: Fix build warnings

2014-06-24 Thread Sachin Kamat
ned expression < 0 is always false [-Wtype-limits] Signed-off-by: Sachin Kamat --- drivers/regulator/tps65218-regulator.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c index 69b4b7

[PATCH 1/1] regulator: as3722: Fix incorrect parameter initialization

2014-06-24 Thread Sachin Kamat
'name' field was re-initialized and getting overwritten in some cases possibly due to a typo. Code inspection says the second time it should be 'sname' instead of 'name'. Replace it. Signed-off-by: Sachin Kamat --- Compile tested only. --- drivers/regulator/as3

Re: [PATCH 1/1] pinctrl: bcm281xx: Staticize bcm281xx_pinctrl_probe

2014-06-23 Thread Sachin Kamat
Hi Sherman, On Mon, Jun 23, 2014 at 11:35 PM, Sherman Yin wrote: > Hi Sachin, > > Looks good, thanks. How did you come across the need for this change? Thanks for the review. Sparse threw up a warning while doing a regular build. Regards, Sachin. -- To unsubscribe from this list: send the line

[PATCH 1/1] pinctrl: bcm281xx: Staticize bcm281xx_pinctrl_probe

2014-06-23 Thread Sachin Kamat
bcm281xx_pinctrl_probe is local to this file. Make it static. Signed-off-by: Sachin Kamat --- drivers/pinctrl/pinctrl-bcm281xx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-bcm281xx.c b/drivers/pinctrl/pinctrl-bcm281xx.c index 3bed792b2c03

[PATCH 1/1] spmi: Remove duplicate inclusion of module.h

2014-06-23 Thread Sachin Kamat
module.h was included twice. Signed-off-by: Sachin Kamat --- drivers/spmi/spmi.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spmi/spmi.c b/drivers/spmi/spmi.c index 3b5780710d50..1d92f5103ebf 100644 --- a/drivers/spmi/spmi.c +++ b/drivers/spmi/spmi.c @@ -18,7 +18,6

Re: [PATCH] serial: samsung: Remove redundant label

2014-06-22 Thread Sachin Kamat
3c24xx_uart_drv); > @@ -1335,9 +1335,6 @@ static int s3c24xx_serial_probe(struct platform_device > *pdev) > dev_err(&pdev->dev, "failed to add cpufreq notifier\n"); > > return 0; > - > - probe_err: > - return ret; > } > > s

Re: [PATCH 2/4] Documentation: devicetree: Fix s2mps11 example syntax

2014-06-22 Thread Sachin Kamat
s2m_osc: clocks { > compatible = "samsung,s2mps11-clk"; > - #clock-cells = 1; > + #clock-cells = <1>; > clock-output-names = "xx", "yy", "zz";

Re: [PATCH 1/4] Documentation: devicetree: Fix s2mps11 and s5m8767 typos

2014-06-22 Thread Sachin Kamat
; - valid values for n are 1 to 28 > - - Example: LDO1, LD02, LDO28 > + - Example: LDO1, LDO2, LDO28 > - BUCKn > - valid values for n are 1 to 9. > - Example: BUCK1, BUCK2, BUCK9 > --

[PATCH Resend 1/1] regulator: ltc3589: Staticize ltc3589_reg_defaults

2014-06-20 Thread Sachin Kamat
'ltc3589_reg_defaults' is local to this file. Make it static. Signed-off-by: Sachin Kamat --- drivers/regulator/ltc3589.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/ltc3589.c b/drivers/regulator/ltc3589.c index c8105182b8b8..c756955bf

[PATCH 2/6] thunderbolt: Fix build error in switch.c

2014-06-20 Thread Sachin Kamat
: Sachin Kamat --- drivers/thunderbolt/switch.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thunderbolt/switch.c b/drivers/thunderbolt/switch.c index 0d50e7e7b29b..26e76e4aa835 100644 --- a/drivers/thunderbolt/switch.c +++ b/drivers/thunderbolt/switch.c @@ -5,6 +5,7 @@ */ #include

[PATCH 6/6] thunderbolt: Staticize nhi_ids

2014-06-20 Thread Sachin Kamat
'nhi_ids' is local to this file. Signed-off-by: Sachin Kamat --- drivers/thunderbolt/nhi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thunderbolt/nhi.c b/drivers/thunderbolt/nhi.c index 0fc137af89f5..2054fbf8b382 100644 --- a/drivers/thunderbolt/n

[PATCH 4/6] thunderbolt: Use NULL instead of 0 in ctl.c

2014-06-20 Thread Sachin Kamat
The function returns a pointer. Hence return NULL instead of 0. Signed-off-by: Sachin Kamat --- drivers/thunderbolt/ctl.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thunderbolt/ctl.c b/drivers/thunderbolt/ctl.c index d04fee4acb2e..4c6da92edcb4 100644

[PATCH 3/6] thunderbolt: Use NULL instead of 0 in switch.c

2014-06-20 Thread Sachin Kamat
The function returns a pointer. Hence return NULL instead of 0. Signed-off-by: Sachin Kamat --- drivers/thunderbolt/switch.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/thunderbolt/switch.c b/drivers/thunderbolt/switch.c index 26e76e4aa835..aeb982969629

[PATCH 5/6] thunderbolt: Use NULL instead of 0 in nhi.c

2014-06-20 Thread Sachin Kamat
'descriptors' is a pointer. Use NULL isntead of 0. Signed-off-by: Sachin Kamat --- drivers/thunderbolt/nhi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thunderbolt/nhi.c b/drivers/thunderbolt/nhi.c index 346b41e7d5d1..0fc137af89f5 100644 ---

[PATCH 1/6] thunderbolt: Fix build error in eeprom.c

2014-06-20 Thread Sachin Kamat
Fixes the below error: drivers/thunderbolt/eeprom.c:407:2: error: implicit declaration of function ‘kzalloc’ [-Werror=implicit-function-declaration] drivers/thunderbolt/eeprom.c:444:2: error: implicit declaration of function ‘kfree’ [-Werror=implicit-function-declaration] Signed-off-by: Sachin

Re: Build error - vmlinux.lds [Re: linux-next: Tree for Jun 18]

2014-06-18 Thread Sachin Kamat
On Wed, Jun 18, 2014 at 5:50 PM, Russell King - ARM Linux wrote: > On Wed, Jun 18, 2014 at 05:38:14PM +0530, Sachin Kamat wrote: >> On Wed, Jun 18, 2014 at 5:26 PM, Russell King - ARM Linux >> wrote: >> > On Wed, Jun 18, 2014 at 04:50:43PM +0530, Sachin Kamat wrote:

Re: Build error - vmlinux.lds [Re: linux-next: Tree for Jun 18]

2014-06-18 Thread Sachin Kamat
On Wed, Jun 18, 2014 at 5:26 PM, Russell King - ARM Linux wrote: > On Wed, Jun 18, 2014 at 04:50:43PM +0530, Sachin Kamat wrote: >> Hi, >> >> I observe the following build error while building uImage for ARM. >> >> Kernel: arch/arm/boot/Image is ready >&

Build error - vmlinux.lds [Re: linux-next: Tree for Jun 18]

2014-06-18 Thread Sachin Kamat
Hi, I observe the following build error while building uImage for ARM. Kernel: arch/arm/boot/Image is ready make[2]: *** No rule to make target `arch/arm/boot/compressed/vmlinux.lds', needed by `arch/arm/boot/compressed/vmlinux'. Stop. make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2 ma

Re: Boot warnings on exynos5420 based boards

2014-06-17 Thread Sachin Kamat
Hi Srivatsa, On Tue, Jun 17, 2014 at 3:24 PM, Srivatsa S. Bhat wrote: > On 06/17/2014 03:03 PM, Sachin Kamat wrote: > >>> Below is an updated patch, please let me know how it goes. (You'll have to >>> revert c47a9d7cca first, and then 56e692182, before trying this

Re: Boot warnings on exynos5420 based boards

2014-06-17 Thread Sachin Kamat
Hi Srivatsa, Thanks for your prompt reply. On Tue, Jun 17, 2014 at 2:48 PM, Srivatsa S. Bhat wrote: > Hi Sachin, > > On 06/17/2014 01:39 PM, Sachin Kamat wrote: >> Hi, >> >> I observe the below warnings while trying to boot Exynos5420 based boards >> since yest

Boot warnings on exynos5420 based boards

2014-06-17 Thread Sachin Kamat
Hi, I observe the below warnings while trying to boot Exynos5420 based boards since yesterday's linux-next (next-20140616) using multi_v7_defconfig. Looks like it is triggered by the commit 56e6921829 ("CPU hotplug, smp: flush any pending IPI callbacks before CPU offline"). Any ideas? **

Re: [PATCH] checkpatch: Warn on unnecessary void function return statements

2014-06-16 Thread Sachin Kamat
On Tue, Jun 17, 2014 at 8:55 AM, Joe Perches wrote: > On Tue, 2014-06-17 at 08:46 +0530, Sachin Kamat wrote: >> On Tue, Jun 17, 2014 at 7:30 AM, Joe Perches wrote: >> > On Mon, 2014-06-16 at 17:44 -0700, Anish Bhatt wrote: >> >> My code has multiple exit la

Re: [PATCH] checkpatch: Warn on unnecessary void function return statements

2014-06-16 Thread Sachin Kamat
On Tue, Jun 17, 2014 at 7:30 AM, Joe Perches wrote: > On Mon, 2014-06-16 at 17:44 -0700, Anish Bhatt wrote: >> My code has multiple exit lables: >> void function(void) >> { >> ... >> >> if (err1) >> goto exit1; >> ... >> if (err2) >> goto exit2;

Re: [PATCH] serial: samsung: Fix compile error with SERIAL_SAMSUNG_DEBUG

2014-06-15 Thread Sachin Kamat
On Sun, Jun 15, 2014 at 2:03 AM, Joe Perches wrote: > Greg? Can you please apply this soon? A similar patch has already been posted [1]. Probably Greg will apply it once 3.16-rc1 is out. [1] http://www.spinics.net/lists/linux-serial/msg12843.html Regards, Sachin. > > Thanks. > > On Sat, 2014

Re: [PATCH 1/3] phy: exynos-dp-video: Use PTR_ERR_OR_ZERO

2014-06-12 Thread Sachin Kamat
On Thu, Jun 12, 2014 at 3:27 PM, Kishon Vijay Abraham I wrote: > > > On Thursday 12 June 2014 03:19 PM, Sachin Kamat wrote: >> Hi Kishon, >> >> On Mon, Jun 2, 2014 at 7:56 AM, Jingoo Han wrote: >>> On Thursday, May 29, 2014 3:31 PM, Sachin Kamat wrote: >

Re: [PATCH 1/3] phy: exynos-dp-video: Use PTR_ERR_OR_ZERO

2014-06-12 Thread Sachin Kamat
Hi Kishon, On Mon, Jun 2, 2014 at 7:56 AM, Jingoo Han wrote: > On Thursday, May 29, 2014 3:31 PM, Sachin Kamat wrote: >> >> PTR_ERR_OR_ZERO simplifies the code. >> >> Signed-off-by: Sachin Kamat >> Cc: Jingoo Han > > Acked-by: Jingoo Han > > Best r

Re: [PATCH] phy: Fix typo in drivers/phy/phy-exynos5250-sata.c module which fixes the build

2014-06-12 Thread Sachin Kamat
Hi Guillaume, On Thu, Jun 12, 2014 at 1:48 PM, Guillaume Gardet wrote: > Hi, > > please find in attachment a patch which fixes a typo in > drivers/phy/phy-exynos5250-sata.c module license. > It fixes the following build error: > FATAL: modpost: GPL-incompatible module phy-exynos5250-sata.ko

[PATCH Resend] mfd: asic3: Fix potential null pointer dereference

2014-06-10 Thread Sachin Kamat
We previously assumed 'mem_sdio' could be null but it is dereferenced in ioremap(). Add a check to avoid a potential null pointer dereference error. Signed-off-by: Sachin Kamat --- drivers/mfd/asic3.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/d

[PATCH 1/1] regulator: ltc3589: Staticize ltc3589_reg_defaults

2014-06-09 Thread Sachin Kamat
'ltc3589_reg_defaults' is local to this file. Make it static. Signed-off-by: Sachin Kamat --- drivers/regulator/ltc3589.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/ltc3589.c b/drivers/regulator/ltc3589.c index 110a99e..217d10d6 100644 ---

Re: [PATCH] serial: samsung: fix typo in debug code

2014-06-03 Thread Sachin Kamat
Hi Arnd, On Tue, Jun 3, 2014 at 3:23 PM, Arnd Bergmann wrote: > commit e4ac92df2791 ("serial: samsung: Neaten dbg uses") introduced > a regression in the conversion from vsprintf to vsnprintf. > > This fixes the build error by passing the correct variable name. I submitted a similar patch someti

Re: [PATCH] ARM: Remove ARCH_HAS_CPUFREQ config option

2014-06-02 Thread Sachin Kamat
On Tue, Jun 3, 2014 at 3:37 AM, Stephen Boyd wrote: > This config exists entirely to hide the cpufreq menu from the > kernel configuration unless a platform has selected it. Nothing > is actually built if this config is 'Y' and it just leads to > more patches that add a select under a platform Kco

[PATCH 1/1] pinctrl: sunxi: Fix potential null pointer dereference

2014-05-30 Thread Sachin Kamat
kzalloc can fail. Add a null check to avoid null pointer dereference error while accessing the pointer later. Signed-off-by: Sachin Kamat --- drivers/pinctrl/sunxi/pinctrl-sunxi.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.c b/drivers/pinctrl

[PATCH 1/1] mfd: asic3: Fix potential null pointer dereference

2014-05-30 Thread Sachin Kamat
We previously assumed 'mem_sdio' could be null but it is dereferenced in ioremap(). Add a check to avoid a potential null pointer dereference error. Signed-off-by: Sachin Kamat --- drivers/mfd/asic3.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/d

Re: [PATCH V4 2/8] opp: call of_node_{get|put}() from of_init_opp_table()

2014-05-29 Thread Sachin Kamat
Hi Viresh, On 27 May 2014 17:20, Viresh Kumar wrote: > All callers of of_init_opp_table() are required to take reference of > dev->of_node, by initiating calls to of_node_{get|put}(), before and after > calling of_init_opp_table(). > > Its better to call these from within of_init_opp_table(), no

[PATCH 1/1] mfd: menelaus: Use module_i2c_driver

2014-05-29 Thread Sachin Kamat
module_i2c_driver simplifies the code by eliminating boilerplate code. Signed-off-by: Sachin Kamat --- drivers/mfd/menelaus.c | 23 +-- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c index ad25bfa3fb02

[PATCH 3/3] phy: sun4i-usb: Use PTR_ERR_OR_ZERO

2014-05-28 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat Cc: Hans de Goede Cc: Maxime Ripard --- drivers/phy/phy-sun4i-usb.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-sun4i-usb.c index 115d8d5190d5

[PATCH 1/3] phy: exynos-dp-video: Use PTR_ERR_OR_ZERO

2014-05-28 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat Cc: Jingoo Han --- drivers/phy/phy-exynos-dp-video.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-exynos-dp-video.c b/drivers/phy/phy-exynos-dp-video.c index 0786fef842e7

[PATCH 2/3] phy: exynos-mipi-video: Use PTR_ERR_OR_ZERO

2014-05-28 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat Cc: Sylwester Nawrocki --- drivers/phy/phy-exynos-mipi-video.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-exynos-mipi-video.c b/drivers/phy/phy-exynos-mipi-video.c index

[PATCH 1/2] ARM: ux500: Staticize local symbols in cpu-db8500.c

2014-05-28 Thread Sachin Kamat
Symbols local to this file are made static. Signed-off-by: Sachin Kamat --- arch/arm/mach-ux500/cpu-db8500.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index fa308f07fae5..6f63954c8bde 100644

[PATCH 2/2] ARM: ux500: Staticize ab8505_regulators

2014-05-28 Thread Sachin Kamat
'ab8505_regulators' is used only in this file. Signed-off-by: Sachin Kamat --- arch/arm/mach-ux500/board-mop500-regulators.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c b/arch/arm/mach-ux500/board-mop500-re

Re: [PATCH 1/1] ARM: ux500: Staticize ux500_soc_attr

2014-05-28 Thread Sachin Kamat
Hi Lee, On 28 May 2014 14:06, Lee Jones wrote: > On Wed, 28 May 2014, Sachin Kamat wrote: > >> 'ux500_soc_attr' is local to this file. While at it also make it >> const to match the argument list of device_create_file. > > What's going on Sachin? I

[PATCH 1/1] ARM: ux500: Staticize ux500_soc_attr

2014-05-27 Thread Sachin Kamat
'ux500_soc_attr' is local to this file. While at it also make it const to match the argument list of device_create_file. Signed-off-by: Sachin Kamat --- arch/arm/mach-ux500/cpu.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ux500/cpu.c b/arc

[PATCH 1/1] bus: vexpress-config: Export devm_regmap_init_vexpress_config

2014-05-26 Thread Sachin Kamat
Export this symbol to avoid build error when built as module. ERROR: "devm_regmap_init_vexpress_config" [drivers/regulator/vexpress.ko] undefined! Signed-off-by: Sachin Kamat --- drivers/bus/vexpress-config.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/vexpres

Re: [PATCH v2] regulator: s2mpa01: Use correct register for buck1 ramp delay

2014-05-26 Thread Sachin Kamat
ead to updating of ramp delay of buck3 when setting buck1 > and actually the ramp delay of buck1 was never set. > > Cc: > Fixes: f18792714608 ("regulator: Add support for S2MPA01 regulator") > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Sachin Kamat -- With warm reg

Re: [RFT PATCH] regulator: s2mpa01: Use correct register for buck[36] ramp delay

2014-05-26 Thread Sachin Kamat
Hi Krzysztof Apologies for the delay. I was on vacation during the early part of this month and got busy with some other stuff later and this mail fell through the cracks. On 23 May 2014 19:49, Krzysztof Kozlowski wrote: > Hi Sachin, > > The s2mpa01 regulator driver uses wrong registers for ram

Re: [PATCH] input: gpio_keys: Add IRQF_NO_SUSPEND flag to wake-up from freeze state

2014-05-25 Thread Sachin Kamat
Hi Chanwoo, On 26 May 2014 10:27, Chanwoo Choi wrote: > This patch add IRQF_NO_SUSPEND flag before requesting interrupt handler > if button->wakeup is true. If ther interrupt of gpio-keys hasn't included > IRQF_NO_SUSPEND, wouldn't wake-up from freeze state when pressing button. Please refer to

Re: [PATCH v2] cpufreq: s5pv210: drop check for CONFIG_PM_VERBOSE

2014-05-23 Thread Sachin Kamat
igned-off-by: Paul Bolle Reviewed-by: Sachin Kamat -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] cpufreq: s5pv210: remove unused call of pr_err()

2014-05-22 Thread Sachin Kamat
Hi Paul, On 22 May 2014 12:11, Paul Bolle wrote: > Sachin, > > On Thu, 2014-05-22 at 08:52 +0530, Sachin Kamat wrote: >> The config symbol itself is not defined and hence could be removed. >> However I feel, the >> error message could be retained after trimming down

Re: [PATCH] cpufreq: s5pv210: remove unused call of pr_err()

2014-05-21 Thread Sachin Kamat
On 22 May 2014 09:44, Viresh Kumar wrote: > On 22 May 2014 08:52, Sachin Kamat wrote: >> On 22 May 2014 01:23, Paul Bolle wrote: >>> A call of pr_err() was added in v3.1. It was guarded by a check for >>> CONFIG_PM_VERBOSE. The Kconfig symbol PM_VERBOSE was removed i

Re: [PATCH] cpufreq: s5pv210: remove unused call of pr_err()

2014-05-21 Thread Sachin Kamat
On 22 May 2014 01:23, Paul Bolle wrote: > A call of pr_err() was added in v3.1. It was guarded by a check for > CONFIG_PM_VERBOSE. The Kconfig symbol PM_VERBOSE was removed in v3.0. So > this call of pr_err() has never been used. Remove it. > > Signed-off-by: Paul Bolle > --- > Untested. > > dri

Re: [PATCH 4/4] ARM: dts: Add usb 2.0 support on exynos5420

2014-04-30 Thread Sachin Kamat
On 30 April 2014 14:25, Vivek Gautam wrote: > Add required device node for ehci and ohci controllers to > enable USB 2.0 support. > > Signed-off-by: Vivek Gautam > --- > arch/arm/boot/dts/exynos5420.dtsi | 36 +++- > 1 file changed, 35 insertions(+), 1 deletion(

Re: [PATCH 2/4] ARM: dts: Add usb2phy to Exynos 5250

2014-04-30 Thread Sachin Kamat
Hi Vivek, On 30 April 2014 14:25, Vivek Gautam wrote: > From: Kamil Debski > > Add support to PHY of USB2 of the Exynos 5250 SoC. > > Signed-off-by: Kamil Debski > [gautam.vi...@samsung.com: Split the usb phy entries from > syscon entries from earlier patch: dts: Add usb2phy to Exynos 5250] > [

Re: Idea: regulator: Merge s2mpa01 with s2mps11

2014-04-30 Thread Sachin Kamat
Hi Krzysztof, On 30 April 2014 18:56, Krzysztof Kozlowski wrote: > Dear Sachin, > > > The S2MPA01 and S2MPS1X PMICs regulator drivers look quite similar to > each other. Most of the S2MPA01 driver is the same as S2MPS11 (except > changes added for supporting S2MPS14). > > I would like to merge th

  1   2   3   4   5   6   7   >