[PATCH 1/2] scsi: ufs: make undeclared functions static

2014-07-23 Thread Dolev Raviv
From: Sujit Reddy Thumma sthu...@codeaurora.org Make undeclared functions static to suppress warnings from sparse tool. Signed-off-by: Sujit Reddy Thumma sthu...@codeaurora.org Signed-off-by: Dolev Raviv dra...@codeaurora.org --- drivers/scsi/ufs/ufshcd.c | 5 +++-- 1 file changed, 3

[PATCH 0/2] scsi: ufs: fix sparse tool warning in ufs driver

2014-07-23 Thread Dolev Raviv
Few fixes noted by the sparse tool: - make undeclared functions static - fix endianness sparse warnings Sujit Reddy Thumma (2): scsi: ufs: make undeclared functions static scsi: ufs: fix endianness sparse warnings drivers/scsi/ufs/ufshcd.c | 12 +++- 1 file changed, 7 insertions(+),

[PATCH 2/2] scsi: ufs: fix endianness sparse warnings

2014-07-23 Thread Dolev Raviv
From: Sujit Reddy Thumma sthu...@codeaurora.org Fix many warnings with incorrect endian assumptions which makes the code unportable to new architectures. The UFS specification defines the byte order as big-endian for UPIU structure and little-endian for the host controller transfer/task

[PATCH] usb: phy: msm: Make of_device_id array const

2014-07-23 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/usb/phy/phy-msm-usb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-msm-usb.c

Re: [PATCH 3/3] pinctrl: Introduce pinctrl driver for Qualcomm pm8xxx

2014-07-23 Thread Linus Walleij
On Tue, Jul 15, 2014 at 12:48 AM, Bjorn Andersson bj...@kryo.se wrote: On Wed, Jul 9, 2014 at 2:32 AM, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Jul 8, 2014 at 3:26 AM, Bjorn Andersson [...] direction also seems a bit bool ... even output_value. direction is 2 bits that can

Re: [PATCH] usb: phy: msm: Make of_device_id array const

2014-07-23 Thread Jingoo Han
On Wednesday, July 23, 2014 4:38 PM, Kiran Padwal wrote: Make of_device_id array const, because all OF functions handle it as const. Hi Kiran Padwal, The same patch was already submitted and merged to USB tree. Thank you. Best regards, Jingoo Han Signed-off-by: Kiran Padwal

Re: [PATCH] usb: phy: msm: Make of_device_id array const

2014-07-23 Thread kiran padwal
On Wed, Jul 23, 2014 at 2:48 PM, Jingoo Han jg1@samsung.com wrote: On Wednesday, July 23, 2014 4:38 PM, Kiran Padwal wrote: Make of_device_id array const, because all OF functions handle it as const. Hi Kiran Padwal, The same patch was already submitted and merged to USB tree. Thank

[PATCH] tty: serial: msm: Make of_device_id array const

2014-07-23 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/tty/serial/msm_serial.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/msm_serial.c

Re: [PATCH v2 0/4] New Qualcomm PMIC pin controller drivers

2014-07-23 Thread Linus Walleij
On Thu, Jul 17, 2014 at 5:25 PM, Ivan T. Ivanov iiva...@mm-sol.com wrote: Patches could be applied on top of the Bjorn Andersson qcom,pm8xxx-gpio driver, which could be found here[2]. Fist patch modify Bjorn's driver and bindings to make room for newer Qualcomm PMIC chips. It is not

Re: [PATCH RESEND v2 1/4] pinctrl: Update Qualcomm pm8xxx GPIO parameters definitions

2014-07-23 Thread Ivan T. Ivanov
On Tue, 2014-07-22 at 14:46 -0700, Bjorn Andersson wrote: On Thu, Jul 17, 2014 at 12:41 PM, Ivan T. Ivanov iiva...@mm-sol.com wrote: From: Ivan T. Ivanov iiva...@mm-sol.com Hi Ivan, Sorry for the slow response, I wanted to respin my pm8xxx-gpio driver to figure out some resonable

Re: [PATCH v2] mmc: mmci: Add qcom dml support to the driver.

2014-07-23 Thread Linus Walleij
On Fri, Jul 18, 2014 at 10:53 PM, Srinivas Kandagatla srinivas.kandaga...@linaro.org wrote: On Qualcomm APQ8064 SOCs, SD card controller has an additional glue called DML (Data Mover Local/Lite) to assist dma transfers. This hardware needs to be setup before any dma transfer is requested. DML

Re: [PATCH v2 2/4] pinctrl: qpnp: Qualcomm PMIC pin controller driver

2014-07-23 Thread Ivan T. Ivanov
On Wed, 2014-07-23 at 17:27 +0200, Linus Walleij wrote: On Thu, Jul 17, 2014 at 5:25 PM, Ivan T. Ivanov iiva...@mm-sol.com wrote: From: Ivan T. Ivanov iiva...@mm-sol.com This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm GPIO and MPP sub-function blocks found in

Re: [PATCH v2 1/1] iommu-api: Add map_range/unmap_range functions

2014-07-23 Thread Olav Haugan
On 7/22/2014 12:45 AM, Thierry Reding wrote: On Mon, Jul 21, 2014 at 05:59:22PM -0700, Olav Haugan wrote: On 7/17/2014 1:21 AM, Thierry Reding wrote: On Wed, Jul 16, 2014 at 06:01:57PM -0700, Olav Haugan wrote: [...] Additionally, the mapping operation would be faster in general since

Not able to set RTC with qpnp-rtc driver

2014-07-23 Thread Siteshwar
Hello, I am trying to set RTC on Nexus 5 (which uses qpnp-rtc driver).and getting a permission error while setting it. I am making following call from my application with valid arguments : ioctl(rtc_fd, RTC_SET_TIME, tod) when I make this call I see below messages in dmesg logs : [

Re: [PATCH RESEND v2 1/4] pinctrl: Update Qualcomm pm8xxx GPIO parameters definitions

2014-07-23 Thread Stephen Boyd
On 07/23/14 09:05, Ivan T. Ivanov wrote: both on pm8xxx and qpnp-pin there are two different HW blocks, one for GPIO and one for MPP. And if you look in your pinconf_set function you will see that they are very different. I bet that the hardware blocks are almost identical, just register

Re: [PATCH v2] mmc: mmci: Add qcom dml support to the driver.

2014-07-23 Thread Stephen Boyd
On 07/18/14 13:53, Srinivas Kandagatla wrote: @@ -468,6 +473,11 @@ static void mmci_dma_setup(struct mmci_host *host) if (max_seg_size host-mmc-max_seg_size) host-mmc-max_seg_size = max_seg_size; } + + if (variant-qcom_dml host-dma_rx_channel

Re: Not able to set RTC with qpnp-rtc driver

2014-07-23 Thread Stephen Boyd
On 07/23/14 13:28, Siteshwar wrote: Hello, I am trying to set RTC on Nexus 5 (which uses qpnp-rtc driver).and getting a permission error while setting it. I am making following call from my application with valid arguments : ioctl(rtc_fd, RTC_SET_TIME, tod) when I make this call I see

Re: [PATCH] tty: serial: msm: Make of_device_id array const

2014-07-23 Thread Stephen Boyd
On 07/23/14 03:26, 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 --- Acked-by: Stephen Boyd sb...@codeaurora.org -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,

Re: [PATCH RESEND v2 1/4] pinctrl: Update Qualcomm pm8xxx GPIO parameters definitions

2014-07-23 Thread Stephen Boyd
On 07/22/14 14:46, Bjorn Andersson wrote: For pm8941 the valid power supply values are: GPIO 1-14 0: VPH 2: SMPS3 3: LDO6 GPIO 15-18 2: SMPS3 3: LDO6 GPIO 19-36 0: VPH 1: VDD_TORCH 2: SPMS3 3: LDO6 MPP 1-8 0: VPH 1: LDO1 2: SPMS3 3: LDO6 For

Re: [PATCH] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-23 Thread Saravana Kannan
On 07/16/2014 03:02 PM, Rafael J. Wysocki wrote: On Wednesday, July 09, 2014 07:37:30 PM Saravana Kannan wrote: Preliminary patch. Not tested. Just sending out to give an idea of what I'm looking to do. Expect a lot more simplification when it's done. Benefits: * A lot more simpler code. *

Re: [PATCH] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-23 Thread Viresh Kumar
On 24 July 2014 08:32, Saravana Kannan skan...@codeaurora.org wrote: Ok, I think I've figured this out. But one question. Is it possible to physically remove one CPU in a bunch of related cpus without also unplugging the rest? Put another way, can you unplug one core from a cluster? Are we