[PATCH] [media] staging: dt3155v4l: Switch to using managed resource with devm_

2015-02-13 Thread Kiran Padwal
This patch uses managed resource APIs to allocate memory in order to simplify the driver unload or failure cases Signed-off-by: Kiran Padwal --- drivers/staging/media/dt3155v4l/dt3155v4l.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/staging/media

[PATCH] [media] staging: dt3155v4l: Switch to using managed resource with devm_

2015-02-13 Thread Kiran Padwal
This patch uses managed resource APIs to allocate memory in order to simplify the driver unload or failure cases Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/staging/media/dt3155v4l/dt3155v4l.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff

[PATCH] ASoC: omap-hdmi-audio: Add missing error check for devm_kzalloc

2015-02-12 Thread Kiran Padwal
This patch add a missing check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal --- sound/soc/omap/omap-hdmi-audio.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/omap/omap-hdmi-audio.c b

[PATCH] ASoC: omap-hdmi-audio: Add missing error check for devm_kzalloc

2015-02-12 Thread Kiran Padwal
This patch add a missing check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- sound/soc/omap/omap-hdmi-audio.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc

[PATCH] mfd: intel_soc_pmic: Add missing error check for devm_kzalloc

2015-02-11 Thread Kiran Padwal
This patch add a missing check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal --- drivers/mfd/intel_soc_pmic_core.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/intel_soc_pmic_core.c b

[PATCH] video: ARM CLCD: Add missing error check for devm_kzalloc

2015-02-11 Thread Kiran Padwal
This patch add a missing check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal --- drivers/video/fbdev/amba-clcd.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/video/fbdev/amba-clcd.c b

[PATCH] video: ARM CLCD: Add missing error check for devm_kzalloc

2015-02-11 Thread Kiran Padwal
This patch add a missing check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/video/fbdev/amba-clcd.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers

[PATCH] mfd: intel_soc_pmic: Add missing error check for devm_kzalloc

2015-02-11 Thread Kiran Padwal
This patch add a missing check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/mfd/intel_soc_pmic_core.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers

[PATCH] ARCNET: Add missing error check for devm_kzalloc

2015-02-05 Thread Kiran Padwal
This patch add a missing check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal --- drivers/net/arcnet/com20020-pci.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/arcnet/com20020-pci.c b

[PATCH] [media] s5k5baf: Add missing error check for devm_kzalloc

2015-02-05 Thread Kiran Padwal
This patch add a missing a check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal --- drivers/media/i2c/s5k5baf.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/i2c/s5k5baf.c b/drivers/media

[PATCH] ARCNET: Add missing error check for devm_kzalloc

2015-02-05 Thread Kiran Padwal
This patch add a missing check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/net/arcnet/com20020-pci.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers

[PATCH] [media] s5k5baf: Add missing error check for devm_kzalloc

2015-02-05 Thread Kiran Padwal
This patch add a missing a check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/media/i2c/s5k5baf.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media

[PATCH] iommu/omap: use dev_get_platdata()

2014-10-30 Thread Kiran Padwal
Use the wrapper function for retrieving the platform data instead of accessing dev->platform_data directly. Signed-off-by: Kiran Padwal --- drivers/iommu/omap-iommu.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/o

[PATCH] msm: iommu: use dev_get_platdata()

2014-10-30 Thread Kiran Padwal
Use the wrapper function for retrieving the platform data instead of accessing dev->platform_data directly. Signed-off-by: Kiran Padwal --- drivers/iommu/msm_iommu_dev.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/msm_iommu_dev.c b/drivers/io

[PATCH] msm: iommu: use dev_get_platdata()

2014-10-30 Thread Kiran Padwal
Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/iommu/msm_iommu_dev.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iommu

[PATCH] iommu/omap: use dev_get_platdata()

2014-10-30 Thread Kiran Padwal
Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/iommu/omap-iommu.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/omap

Re: [PATCH] iommu: use dev_get_platdata()

2014-10-28 Thread kiran . padwal
On Wednesday, October 22, 2014 10:30am, "Joerg Roedel" said: > On Fri, Oct 10, 2014 at 07:01:10PM +0530, Kiran Padwal wrote: >> Use the wrapper function for retrieving the platform data instead of >> accessing dev->platform_data directly. >> >> Signed-

Re: [PATCH] iommu: use dev_get_platdata()

2014-10-28 Thread kiran . padwal
On Wednesday, October 22, 2014 10:30am, Joerg Roedel j...@8bytes.org said: On Fri, Oct 10, 2014 at 07:01:10PM +0530, Kiran Padwal wrote: Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Kiran Padwal kiran.pad

Re: [PATCH 3/3] spi: qup: Remove .owner field for driver

2014-10-14 Thread Kiran Padwal
On Tuesday 14 October 2014 01:39 PM, Mark Brown wrote: > On Tue, Oct 14, 2014 at 11:47:57AM +0530, Kiran Padwal wrote: >> On Monday 13 October 2014 06:39 PM, Mark Brown wrote: > >>> Two problems: >>> - I'm missing patches 1 and 2. > >> These patch

Re: [PATCH 3/3] spi: qup: Remove .owner field for driver

2014-10-14 Thread Kiran Padwal
On Monday 13 October 2014 06:39 PM, Mark Brown wrote: > On Thu, Oct 09, 2014 at 01:12:08PM +0530, Kiran Padwal wrote: >> There is no need to init .owner field. >> >> Based on the patch from Peter Griffin >> "mmc: remove .owner field for drivers using module_p

Re: [PATCH 3/3] spi: qup: Remove .owner field for driver

2014-10-14 Thread Kiran Padwal
On Monday 13 October 2014 06:39 PM, Mark Brown wrote: On Thu, Oct 09, 2014 at 01:12:08PM +0530, Kiran Padwal wrote: There is no need to init .owner field. Based on the patch from Peter Griffin peter.grif...@linaro.org mmc: remove .owner field for drivers using module_platform_driver

Re: [PATCH 3/3] spi: qup: Remove .owner field for driver

2014-10-14 Thread Kiran Padwal
On Tuesday 14 October 2014 01:39 PM, Mark Brown wrote: On Tue, Oct 14, 2014 at 11:47:57AM +0530, Kiran Padwal wrote: On Monday 13 October 2014 06:39 PM, Mark Brown wrote: Two problems: - I'm missing patches 1 and 2. These patches are same like this one, [1] https://lkml.org/lkml/2014/10

[PATCH] iommu: use dev_get_platdata()

2014-10-10 Thread Kiran Padwal
Use the wrapper function for retrieving the platform data instead of accessing dev->platform_data directly. Signed-off-by: Kiran Padwal --- drivers/iommu/msm_iommu_dev.c |4 ++-- drivers/iommu/omap-iommu.c|6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --

[PATCH] iommu: use dev_get_platdata()

2014-10-10 Thread Kiran Padwal
Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/iommu/msm_iommu_dev.c |4 ++-- drivers/iommu/omap-iommu.c|6 +++--- 2 files changed, 5 insertions(+), 5

[PATCH 1/3] soc: qcom: Remove .owner field for driver

2014-10-09 Thread Kiran Padwal
overridden in platform_driver_register anyway." Signed-off-by: Kiran Padwal --- drivers/soc/qcom/qcom_gsbi.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/qcom/qcom_gsbi.c b/drivers/soc/qcom/qcom_gsbi.c index 447458e..17ac058 100644 --- a/drivers/soc/qcom/qcom_gsbi.c +++ b/drivers/soc/qcom/qcom_

[PATCH 3/3] spi: qup: Remove .owner field for driver

2014-10-09 Thread Kiran Padwal
overridden in platform_driver_register anyway." Signed-off-by: Kiran Padwal --- drivers/spi/spi-qup.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 97471e1..30511bd 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi-qup.c @@ -758,7 +758,6 @@ stat

[PATCH 2/3] i2c: qup: Remove .owner field for driver

2014-10-09 Thread Kiran Padwal
overridden in platform_driver_register anyway." Signed-off-by: Kiran Padwal --- drivers/i2c/busses/i2c-qup.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c index 3a4d64e..f14af2e 100644 --- a/drivers/i2c/busses/i2c-qup.c +++ b/drivers/i2c/busses/i2c-

[PATCH 2/3] i2c: qup: Remove .owner field for driver

2014-10-09 Thread Kiran Padwal
in platform_driver_register anyway. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/i2c/busses/i2c-qup.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c index 3a4d64e..f14af2e 100644 --- a/drivers/i2c/busses/i2c

[PATCH 3/3] spi: qup: Remove .owner field for driver

2014-10-09 Thread Kiran Padwal
in platform_driver_register anyway. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/spi/spi-qup.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 97471e1..30511bd 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi

[PATCH 1/3] soc: qcom: Remove .owner field for driver

2014-10-09 Thread Kiran Padwal
in platform_driver_register anyway. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/soc/qcom/qcom_gsbi.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/qcom/qcom_gsbi.c b/drivers/soc/qcom/qcom_gsbi.c index 447458e..17ac058 100644 --- a/drivers/soc/qcom

Re: [PATCH 1/2] input: Add Qualcomm PM8941 power key driver

2014-10-07 Thread Kiran Padwal
On Tuesday 07 October 2014 06:42 AM, Bjorn Andersson wrote: > From: Courtney Cavin > > Signed-off-by: Courtney Cavin > Signed-off-by: Bjorn Andersson > --- > drivers/input/misc/Kconfig | 12 +++ > drivers/input/misc/Makefile|1 + > drivers/input/misc/pm8941-pwrkey.c |

Re: [PATCH 1/2] input: Add Qualcomm PM8941 power key driver

2014-10-07 Thread Kiran Padwal
On Tuesday 07 October 2014 06:42 AM, Bjorn Andersson wrote: From: Courtney Cavin courtney.ca...@sonymobile.com Signed-off-by: Courtney Cavin courtney.ca...@sonymobile.com Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- drivers/input/misc/Kconfig | 12 +++

Re: [PATCH v2] thermal: Add QPNP PMIC temperature alarm driver

2014-09-30 Thread Kiran Padwal
On Tuesday 30 September 2014 01:06 PM, Ivan T. Ivanov wrote: > On Tue, 2014-09-30 at 10:00 +0530, Kiran Padwal wrote: >> On Monday 29 September 2014 07:24 PM, Ivan T. Ivanov wrote: >>> On Fri, 2014-09-26 at 16:51 +0530, Kiran Padwal wrote: >>>> On Thursday 25 S

Re: [RFC 4/7] soc: qcom: Add Shared Memory Manager driver

2014-09-30 Thread Kiran Padwal
Hi, On Tuesday 30 September 2014 11:47 AM, Kiran Padwal wrote: > Hi Bjorn, > > On Tuesday 30 September 2014 06:04 AM, Bjorn Andersson wrote: >> The Shared Memory Manager driver implements an interface for allocating >> and accessing items in the memory area shared among all

Re: [RFC 4/7] soc: qcom: Add Shared Memory Manager driver

2014-09-30 Thread Kiran Padwal
Hi Bjorn, On Tuesday 30 September 2014 06:04 AM, Bjorn Andersson wrote: > The Shared Memory Manager driver implements an interface for allocating > and accessing items in the memory area shared among all of the > processors in a Qualcomm platform. > > Signed-off-by: Bjorn Andersson > --- > +

Re: [RFC 4/7] soc: qcom: Add Shared Memory Manager driver

2014-09-30 Thread Kiran Padwal
Hi Bjorn, On Tuesday 30 September 2014 06:04 AM, Bjorn Andersson wrote: The Shared Memory Manager driver implements an interface for allocating and accessing items in the memory area shared among all of the processors in a Qualcomm platform. Signed-off-by: Bjorn Andersson

Re: [RFC 4/7] soc: qcom: Add Shared Memory Manager driver

2014-09-30 Thread Kiran Padwal
Hi, On Tuesday 30 September 2014 11:47 AM, Kiran Padwal wrote: Hi Bjorn, On Tuesday 30 September 2014 06:04 AM, Bjorn Andersson wrote: The Shared Memory Manager driver implements an interface for allocating and accessing items in the memory area shared among all of the processors

Re: [PATCH v2] thermal: Add QPNP PMIC temperature alarm driver

2014-09-30 Thread Kiran Padwal
On Tuesday 30 September 2014 01:06 PM, Ivan T. Ivanov wrote: On Tue, 2014-09-30 at 10:00 +0530, Kiran Padwal wrote: On Monday 29 September 2014 07:24 PM, Ivan T. Ivanov wrote: On Fri, 2014-09-26 at 16:51 +0530, Kiran Padwal wrote: On Thursday 25 September 2014 07:00 PM, Ivan T. Ivanov wrote

Re: [PATCH v2] thermal: Add QPNP PMIC temperature alarm driver

2014-09-29 Thread Kiran Padwal
On Monday 29 September 2014 07:24 PM, Ivan T. Ivanov wrote: > On Fri, 2014-09-26 at 16:51 +0530, Kiran Padwal wrote: >> On Thursday 25 September 2014 07:00 PM, Ivan T. Ivanov wrote: >>> Add support for the temperature alarm peripheral found inside >>> Qualcomm plug

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-29 Thread Kiran Padwal
On Monday 29 September 2014 05:31 PM, Richard Weinberger wrote: > Am 29.09.2014 12:50, schrieb Kiran Padwal: >> Hi Tanya, >> >> On Sunday 28 September 2014 12:06 PM, Tanya Brokhman wrote: >>> If there is more then one UBI device mounted, there is no way to >>

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-29 Thread Kiran Padwal
Hi Tanya, On Sunday 28 September 2014 12:06 PM, Tanya Brokhman wrote: > If there is more then one UBI device mounted, there is no way to > distinguish between messages from different UBI devices. > Add device number to all ubi layer message types. > > > Signed-off-by: Tanya Brokhman > > --- >

Re: [PATCH 3/4] ARM: DT: apq8064: Add USB OTG support

2014-09-29 Thread Kiran Padwal
Hi Srinivas, Some review are comments inline. On Monday 29 September 2014 02:45 PM, Srinivas Kandagatla wrote: > This patch adds USB OTG support on USB1 of APQ8064 SOC. > Tested on IFC6410 with ethernet gadget. > > Signed-off-by: Srinivas Kandagatla > --- >

Re: [PATCH 3/4] ARM: DT: apq8064: Add USB OTG support

2014-09-29 Thread Kiran Padwal
Hi Srinivas, Some review are comments inline. On Monday 29 September 2014 02:45 PM, Srinivas Kandagatla wrote: This patch adds USB OTG support on USB1 of APQ8064 SOC. Tested on IFC6410 with ethernet gadget. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org ---

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-29 Thread Kiran Padwal
Hi Tanya, On Sunday 28 September 2014 12:06 PM, Tanya Brokhman wrote: If there is more then one UBI device mounted, there is no way to distinguish between messages from different UBI devices. Add device number to all ubi layer message types. Signed-off-by: Tanya Brokhman

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-29 Thread Kiran Padwal
On Monday 29 September 2014 05:31 PM, Richard Weinberger wrote: Am 29.09.2014 12:50, schrieb Kiran Padwal: Hi Tanya, On Sunday 28 September 2014 12:06 PM, Tanya Brokhman wrote: If there is more then one UBI device mounted, there is no way to distinguish between messages from different UBI

Re: [PATCH v2] thermal: Add QPNP PMIC temperature alarm driver

2014-09-29 Thread Kiran Padwal
On Monday 29 September 2014 07:24 PM, Ivan T. Ivanov wrote: On Fri, 2014-09-26 at 16:51 +0530, Kiran Padwal wrote: On Thursday 25 September 2014 07:00 PM, Ivan T. Ivanov wrote: Add support for the temperature alarm peripheral found inside Qualcomm plug-and-play (QPNP) PMIC chips

Re: [PATCH v2] thermal: Add QPNP PMIC temperature alarm driver

2014-09-26 Thread Kiran Padwal
On Thursday 25 September 2014 07:00 PM, Ivan T. Ivanov wrote: > Add support for the temperature alarm peripheral found inside > Qualcomm plug-and-play (QPNP) PMIC chips. The temperature alarm > peripheral outputs a pulse on an interrupt line whenever the > thermal over temperature stage value

Re: [PATCH v2] thermal: Add QPNP PMIC temperature alarm driver

2014-09-26 Thread Kiran Padwal
On Thursday 25 September 2014 07:00 PM, Ivan T. Ivanov wrote: Add support for the temperature alarm peripheral found inside Qualcomm plug-and-play (QPNP) PMIC chips. The temperature alarm peripheral outputs a pulse on an interrupt line whenever the thermal over temperature stage value

[PATCH] USB: Remove .owner field for driver

2014-09-24 Thread Kiran Padwal
r_register anyway." Signed-off-by: Kiran Padwal --- drivers/usb/dwc3/dwc3-keystone.c |1 - drivers/usb/dwc3/dwc3-qcom.c |1 - drivers/usb/phy/phy-msm-usb.c|1 - 3 files changed, 3 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-keystone.c b/drivers/usb/dwc3/dwc3-keystone.

[PATCH v2] dma: cppi41: Switch to using managed resource in probe

2014-09-24 Thread Kiran Padwal
This change uses managed resource APIs to allocate resources such as, mem, irq in order to simplify the driver unload or failure cases Signed-off-by: Kiran Padwal --- Changes since v1: - Used devm_free_irq drivers/dma/cppi41.c | 16 +--- 1 file changed, 5 insertions(+), 11

[PATCH 1/5] char: hw_random: Remove .owner field for driver

2014-09-24 Thread Kiran Padwal
r_register anyway." Signed-off-by: Kiran Padwal --- drivers/char/hw_random/atmel-rng.c |1 - drivers/char/hw_random/bcm2835-rng.c|1 - drivers/char/hw_random/bcm63xx-rng.c|1 - drivers/char/hw_random/exynos-rng.c |1 - drivers/char/hw_random/msm-rng.

[PATCH 4/5] Phy: Remove .owner field for driver

2014-09-24 Thread Kiran Padwal
r_register anyway." Signed-off-by: Kiran Padwal --- drivers/phy/phy-bcm-kona-usb2.c |1 - drivers/phy/phy-berlin-sata.c |1 - drivers/phy/phy-exynos-dp-video.c |1 - drivers/phy/phy-exynos-mipi-video.c |1 - drivers/phy/phy-exynos5-usbdrd.c|1 - drivers/phy

[PATCH 3/5] clk: Remove .owner field for driver

2014-09-24 Thread Kiran Padwal
r_register anyway." Signed-off-by: Kiran Padwal --- drivers/clk/clk-axi-clkgen.c |1 - drivers/clk/clk-max77686.c |1 - drivers/clk/clk-max77802.c |1 - drivers/clk/clk-palmas.c |1 - drivers/clk/clk-twl6040.c

[PATCH 2/5] DMA: Remove .owner field for driver

2014-09-24 Thread Kiran Padwal
r_register anyway." Signed-off-by: Kiran Padwal --- drivers/dma/bcm2835-dma.c |1 - drivers/dma/cppi41.c |1 - drivers/dma/dma-jz4740.c |1 - drivers/dma/iop-adma.c|1 - drivers/dma/k3dma.c |1 - drivers/dma/mmp_pdma.c|1

[PATCH 2/5] DMA: Remove .owner field for driver

2014-09-24 Thread Kiran Padwal
in platform_driver_register anyway. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/dma/bcm2835-dma.c |1 - drivers/dma/cppi41.c |1 - drivers/dma/dma-jz4740.c |1 - drivers/dma/iop-adma.c|1 - drivers/dma/k3dma.c |1 - drivers

[PATCH 3/5] clk: Remove .owner field for driver

2014-09-24 Thread Kiran Padwal
in platform_driver_register anyway. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/clk/clk-axi-clkgen.c |1 - drivers/clk/clk-max77686.c |1 - drivers/clk/clk-max77802.c |1 - drivers/clk/clk-palmas.c |1

[PATCH 4/5] Phy: Remove .owner field for driver

2014-09-24 Thread Kiran Padwal
in platform_driver_register anyway. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/phy/phy-bcm-kona-usb2.c |1 - drivers/phy/phy-berlin-sata.c |1 - drivers/phy/phy-exynos-dp-video.c |1 - drivers/phy/phy-exynos-mipi-video.c |1 - drivers/phy/phy-exynos5

[PATCH 1/5] char: hw_random: Remove .owner field for driver

2014-09-24 Thread Kiran Padwal
in platform_driver_register anyway. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/char/hw_random/atmel-rng.c |1 - drivers/char/hw_random/bcm2835-rng.c|1 - drivers/char/hw_random/bcm63xx-rng.c|1 - drivers/char/hw_random/exynos-rng.c |1 - drivers

[PATCH v2] dma: cppi41: Switch to using managed resource in probe

2014-09-24 Thread Kiran Padwal
This change uses managed resource APIs to allocate resources such as, mem, irq in order to simplify the driver unload or failure cases Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- Changes since v1: - Used devm_free_irq drivers/dma/cppi41.c | 16 +--- 1 file

[PATCH] USB: Remove .owner field for driver

2014-09-24 Thread Kiran Padwal
in platform_driver_register anyway. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/usb/dwc3/dwc3-keystone.c |1 - drivers/usb/dwc3/dwc3-qcom.c |1 - drivers/usb/phy/phy-msm-usb.c|1 - 3 files changed, 3 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-keystone.c

Re: [PATCH] dma: cppi41: Switch to using managed resource in probe

2014-09-23 Thread Kiran Padwal
On Tuesday 23 September 2014 09:10 PM, Vinod Koul wrote: > On Tue, Sep 23, 2014 at 06:20:46PM +0530, Kiran Padwal wrote: >> This change uses managed resource APIs to allocate resources such as, >> mem, irq in order to simplify the driver unload or failure cases. >> >>

[PATCH] dma: cppi41: Switch to using managed resource in probe

2014-09-23 Thread Kiran Padwal
This change uses managed resource APIs to allocate resources such as, mem, irq in order to simplify the driver unload or failure cases. Signed-off-by: Kiran Padwal --- drivers/dma/cppi41.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/drivers/dma/cppi41

[PATCH] dma: cppi41: Switch to using managed resource in probe

2014-09-23 Thread Kiran Padwal
This change uses managed resource APIs to allocate resources such as, mem, irq in order to simplify the driver unload or failure cases. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/dma/cppi41.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff

Re: [PATCH] dma: cppi41: Switch to using managed resource in probe

2014-09-23 Thread Kiran Padwal
On Tuesday 23 September 2014 09:10 PM, Vinod Koul wrote: On Tue, Sep 23, 2014 at 06:20:46PM +0530, Kiran Padwal wrote: This change uses managed resource APIs to allocate resources such as, mem, irq in order to simplify the driver unload or failure cases. Signed-off-by: Kiran Padwal kiran.pad

Re: [PATCH] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-19 Thread Kiran Padwal
Hi Ivan, On Thursday 18 September 2014 06:45 PM, Ivan T. Ivanov wrote: > The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has > 16 bits resolution and register space inside PMIC accessible across > SPMI bus. > > The driver registers itself through IIO interface. > > Signed-off-by:

[PATCH] char: tpm: Add missing error check for devm_kzalloc

2014-09-19 Thread Kiran Padwal
Currently these driver are missing a check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. This patch adds a missing check for tpm_i2c_atmel.c and tpm_i2c_nuvoton.c Signed-off-by: Kiran Padwal --- drivers/char/tpm/tpm_i2c_atmel.c |4

[PATCH] char: tpm: Add missing error check for devm_kzalloc

2014-09-19 Thread Kiran Padwal
Currently these driver are missing a check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. This patch adds a missing check for tpm_i2c_atmel.c and tpm_i2c_nuvoton.c Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/char

Re: [PATCH] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-19 Thread Kiran Padwal
Hi Ivan, On Thursday 18 September 2014 06:45 PM, Ivan T. Ivanov wrote: The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself through IIO interface. Signed-off-by: Ivan T.

[PATCH] spi: pl022: Add missing error check for devm_kzalloc

2014-09-18 Thread Kiran Padwal
Currently this driver is missing a check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. This patch adds a missing check. Signed-off-by: Kiran Padwal --- drivers/spi/spi-pl022.c |5 + 1 file changed, 5 insertions(+) diff --git

[PATCH] spi: pl022: Add missing error check for devm_kzalloc

2014-09-18 Thread Kiran Padwal
Currently this driver is missing a check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. This patch adds a missing check. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/spi/spi-pl022.c |5 + 1 file changed, 5

Re: [PATCH] ARM: dts: qcom: Add I2C dt node for MSM8974 and DB8074 board

2014-09-17 Thread kiran . padwal
Hi Kumar, On Tuesday, September 16, 2014 2:59pm, "Kumar Gala" said: > > On Sep 16, 2014, at 4:45 AM, Kiran Padwal > wrote: > >> Add support for i2c controller on the DB8074 board. >> It also adds necessary DT support for i2c eeprom which is present on

[PATCH v4] ARM: DT: apq8064: Add i2c device nodes

2014-09-17 Thread Kiran Padwal
This patch adds i2c pinctrl DT node for IFC6410 board. It also adds necessary DT support for i2c eeprom which is present on IFC6410. Tested on IFC6410 board. Signed-off-by: Kiran Padwal --- Changes since v3: - Removed pinctrl DT node. Changes since v2: - Renamed pinmux i2c subnode

Re: [PATCH v3] ARM: apq8064: Add pinmux and i2c pinctrl nodes

2014-09-17 Thread kiran . padwal
On Tuesday, September 16, 2014 3:00pm, "Kumar Gala" said: > > On Sep 16, 2014, at 5:36 AM, kiran.pad...@smartplayin.com wrote: > >> >> >> On Monday, September 15, 2014 10:39pm, "Andy Gross" >> said: >> >>> On Tue, Aug 26

Re: [PATCH v3] ARM: apq8064: Add pinmux and i2c pinctrl nodes

2014-09-17 Thread kiran . padwal
On Tuesday, September 16, 2014 3:00pm, Kumar Gala ga...@codeaurora.org said: On Sep 16, 2014, at 5:36 AM, kiran.pad...@smartplayin.com wrote: On Monday, September 15, 2014 10:39pm, Andy Gross agr...@codeaurora.org said: On Tue, Aug 26, 2014 at 05:00:45PM +0530, Kiran Padwal wrote

[PATCH v4] ARM: DT: apq8064: Add i2c device nodes

2014-09-17 Thread Kiran Padwal
This patch adds i2c pinctrl DT node for IFC6410 board. It also adds necessary DT support for i2c eeprom which is present on IFC6410. Tested on IFC6410 board. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- Changes since v3: - Removed pinctrl DT node. Changes since v2: - Renamed

Re: [PATCH] ARM: dts: qcom: Add I2C dt node for MSM8974 and DB8074 board

2014-09-17 Thread kiran . padwal
Hi Kumar, On Tuesday, September 16, 2014 2:59pm, Kumar Gala ga...@codeaurora.org said: On Sep 16, 2014, at 4:45 AM, Kiran Padwal kiran.pad...@smartplayin.com wrote: Add support for i2c controller on the DB8074 board. It also adds necessary DT support for i2c eeprom which is present

Re: [PATCH v3] ARM: apq8064: Add pinmux and i2c pinctrl nodes

2014-09-16 Thread kiran . padwal
On Monday, September 15, 2014 10:39pm, "Andy Gross" said: > On Tue, Aug 26, 2014 at 05:00:45PM +0530, Kiran Padwal wrote: >> This patch adds pinmux and i2c pinctrl DT node for IFC6410 board. >> It also adds necessary DT support for i2c eeprom which is present on

[PATCH] ARM: dts: qcom: Add I2C dt node for MSM8974 and DB8074 board

2014-09-16 Thread Kiran Padwal
Add support for i2c controller on the DB8074 board. It also adds necessary DT support for i2c eeprom which is present on DB8074 board. Signed-off-by: Kiran Padwal --- arch/arm/boot/dts/qcom-apq8074-dragonboard.dts | 21 + arch/arm/boot/dts/qcom-msm8974.dtsi

[PATCH] ARM: dts: qcom: Add I2C dt node for MSM8974 and DB8074 board

2014-09-16 Thread Kiran Padwal
Add support for i2c controller on the DB8074 board. It also adds necessary DT support for i2c eeprom which is present on DB8074 board. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- arch/arm/boot/dts/qcom-apq8074-dragonboard.dts | 21 + arch/arm/boot/dts/qcom

Re: [PATCH v3] ARM: apq8064: Add pinmux and i2c pinctrl nodes

2014-09-16 Thread kiran . padwal
On Monday, September 15, 2014 10:39pm, Andy Gross agr...@codeaurora.org said: On Tue, Aug 26, 2014 at 05:00:45PM +0530, Kiran Padwal wrote: This patch adds pinmux and i2c pinctrl DT node for IFC6410 board. It also adds necessary DT support for i2c eeprom which is present on IFC6410

Re: [PATCH] iommu: Make of_device_id array const

2014-09-12 Thread kiran . padwal
On Thursday, September 11, 2014 9:51am, "Will Deacon" said: > On Thu, Sep 11, 2014 at 02:37:36PM +0100, Kiran Padwal wrote: >> Make of_device_id array const, because all OF functions handle it as const. >> >> Signed-off-by: Kiran Padwal >> ---

Re: [PATCH] iommu: Make of_device_id array const

2014-09-12 Thread kiran . padwal
On Thursday, September 11, 2014 9:51am, Will Deacon will.dea...@arm.com said: On Thu, Sep 11, 2014 at 02:37:36PM +0100, Kiran Padwal wrote: Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers

[PATCH] power: Make of_device_id array const

2014-09-11 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal --- drivers/power/charger-manager.c |2 +- drivers/power/reset/hisi-reboot.c |2 +- drivers/power/reset/keystone-reset.c|2 +- drivers/power/reset/sun6i-reboot.c

[PATCH] iommu: Make of_device_id array const

2014-09-11 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal --- drivers/iommu/arm-smmu.c |2 +- drivers/iommu/omap-iommu.c |2 +- drivers/iommu/tegra-gart.c |2 +- drivers/iommu/tegra-smmu.c |2 +- 4 files changed, 4 insertions(+), 4

[PATCH] iommu: Make of_device_id array const

2014-09-11 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/iommu/arm-smmu.c |2 +- drivers/iommu/omap-iommu.c |2 +- drivers/iommu/tegra-gart.c |2 +- drivers/iommu/tegra-smmu.c |2 +- 4 files

[PATCH] power: Make of_device_id array const

2014-09-11 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/power/charger-manager.c |2 +- drivers/power/reset/hisi-reboot.c |2 +- drivers/power/reset/keystone-reset.c|2

RE: [PATCH v2 4/4] clk: Use ww_mutexes for clk_prepare_{lock/unlock}

2014-09-04 Thread kiran . padwal
epare_lock(clk, list, ctx); > + } while (ret == -EDEADLK); > + ww_acquire_done(ctx); > +} > + > +static int __clk_unprepare_lock(struct clk *clk, struct list_head *list, > + struct ww_acquire_ctx *ctx) Checkpatch error for above line, ERROR:

RE: [PATCH v2 4/4] clk: Use ww_mutexes for clk_prepare_{lock/unlock}

2014-09-04 Thread kiran . padwal
); +} + +static int __clk_unprepare_lock(struct clk *clk, struct list_head *list, + struct ww_acquire_ctx *ctx) Checkpatch error for above line, ERROR: code indent should use tabs where possible Best Regards, Kiran Padwal +{ + int ret; + + do

[PATCH v3] ARM: apq8064: Add pinmux and i2c pinctrl nodes

2014-08-26 Thread Kiran Padwal
This patch adds pinmux and i2c pinctrl DT node for IFC6410 board. It also adds necessary DT support for i2c eeprom which is present on IFC6410. Tested on IFC6410 board. Signed-off-by: Kiran Padwal --- Changes since v2: - Renamed pinmux i2c subnode "i2c1_pinmux" to "i2c1&quo

Re: [PATCH v2] ARM: apq8064: Add pinmux and i2c pinctrl nodes

2014-08-26 Thread kiran . padwal
On Wednesday, August 20, 2014 11:36am, "Andreas Färber" said: > Hi, > > Am 20.08.2014 14:02, schrieb Kiran Padwal: >> This patch adds pinmux and i2c pinctrl DT node for IFC6410 board. >> It also adds necessary DT support for i2c eeprom which is present on >

Re: [PATCH v2] ARM: apq8064: Add pinmux and i2c pinctrl nodes

2014-08-26 Thread kiran . padwal
On Wednesday, August 20, 2014 11:36am, Andreas Färber afaer...@suse.de said: Hi, Am 20.08.2014 14:02, schrieb Kiran Padwal: This patch adds pinmux and i2c pinctrl DT node for IFC6410 board. It also adds necessary DT support for i2c eeprom which is present on IFC6410. Tested on IFC6410

[PATCH v3] ARM: apq8064: Add pinmux and i2c pinctrl nodes

2014-08-26 Thread Kiran Padwal
This patch adds pinmux and i2c pinctrl DT node for IFC6410 board. It also adds necessary DT support for i2c eeprom which is present on IFC6410. Tested on IFC6410 board. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- Changes since v2: - Renamed pinmux i2c subnode i2c1_pinmux

[PATCH] drm: exynos: Make of_device_id array const

2014-08-21 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal --- drivers/gpu/drm/exynos/exynos_drm_dsi.c |2 +- drivers/gpu/drm/exynos/exynos_hdmi.c|2 +- drivers/gpu/drm/exynos/exynos_mixer.c |2 +- 3 files changed, 3 insertions

[PATCH] drm: sti: Make of_device_id array const

2014-08-21 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal --- drivers/gpu/drm/sti/sti_hda.c |2 +- drivers/gpu/drm/sti/sti_hdmi.c |2 +- drivers/gpu/drm/sti/sti_tvout.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff

[PATCH] drm: tilcdc: Make of_device_id array const

2014-08-21 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal --- drivers/gpu/drm/tilcdc/tilcdc_drv.c|4 ++-- drivers/gpu/drm/tilcdc/tilcdc_panel.c |4 ++-- drivers/gpu/drm/tilcdc/tilcdc_slave.c |4 ++-- drivers/gpu/drm/tilcdc

[PATCH] drm: tilcdc: Make of_device_id array const

2014-08-21 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/gpu/drm/tilcdc/tilcdc_drv.c|4 ++-- drivers/gpu/drm/tilcdc/tilcdc_panel.c |4 ++-- drivers/gpu/drm/tilcdc/tilcdc_slave.c |4

[PATCH] drm: sti: Make of_device_id array const

2014-08-21 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/gpu/drm/sti/sti_hda.c |2 +- drivers/gpu/drm/sti/sti_hdmi.c |2 +- drivers/gpu/drm/sti/sti_tvout.c |2 +- 3 files changed, 3 insertions

[PATCH] drm: exynos: Make of_device_id array const

2014-08-21 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/gpu/drm/exynos/exynos_drm_dsi.c |2 +- drivers/gpu/drm/exynos/exynos_hdmi.c|2 +- drivers/gpu/drm/exynos/exynos_mixer.c |2 +- 3

[PATCH] pinctrl: spear: Make of_device_id array const

2014-08-20 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal --- drivers/pinctrl/spear/pinctrl-spear1310.c |2 +- drivers/pinctrl/spear/pinctrl-spear1340.c |2 +- drivers/pinctrl/spear/pinctrl-spear300.c |2 +- drivers/pinctrl/spear

[PATCH v2] ARM: apq8064: Add pinmux and i2c pinctrl nodes

2014-08-20 Thread Kiran Padwal
This patch adds pinmux and i2c pinctrl DT node for IFC6410 board. It also adds necessary DT support for i2c eeprom which is present on IFC6410. Tested on IFC6410 board. Signed-off-by: Kiran Padwal --- Chages since v1: - Renamed pinmux phandle "qcom_pinmux" to &q

  1   2   3   >