[PATCH 0/2] Fix a return value + some cleanups

2017-06-11 Thread Christophe JAILLET
This patch serie first fixes a case where an error code was missing. The other path is just a cleanup in the same area. Christophe JAILLET (2): scsi: qedi: Fix a return value in case of error in 'qedi_alloc_global_queues' scsi: qedi: Use 'dma_zalloc_coherent' to reduce code verbosity.

[PATCH 0/2] Fix a return value + some cleanups

2017-06-11 Thread Christophe JAILLET
This patch serie first fixes a case where an error code was missing. The other path is just a cleanup in the same area. Christophe JAILLET (2): scsi: qedi: Fix a return value in case of error in 'qedi_alloc_global_queues' scsi: qedi: Use 'dma_zalloc_coherent' to reduce code verbosity.

Re: [PATCH 2/3] cpufreq: schedutil: Fix selection algorithm while reducing frequency

2017-06-11 Thread Joel Fernandes
On Sat, Jun 10, 2017 at 2:11 AM, Joel Fernandes wrote: > On Fri, Jun 9, 2017 at 3:15 AM, Viresh Kumar wrote: >> While reducing frequency if there are no frequencies available between >> "current" and "next" calculated frequency, then the core will

Re: [PATCH 2/3] cpufreq: schedutil: Fix selection algorithm while reducing frequency

2017-06-11 Thread Joel Fernandes
On Sat, Jun 10, 2017 at 2:11 AM, Joel Fernandes wrote: > On Fri, Jun 9, 2017 at 3:15 AM, Viresh Kumar wrote: >> While reducing frequency if there are no frequencies available between >> "current" and "next" calculated frequency, then the core will never >> select the "next" frequency. >> >> For

Re: [PATCH v1 1/1] gpio: of: provide option generic property for initial line states

2017-06-11 Thread Oleksij Rempel
Hi Rob, On Fri, Jun 09, 2017 at 10:41:30AM -0500, Rob Herring wrote: > On Fri, Jun 9, 2017 at 9:16 AM, Oleksij Rempel > wrote: > > This property is needed for barebox or may be other bootloaders > > to set proper gpio configuration as early as possible. > > > > This

Re: [PATCH v1 1/1] gpio: of: provide option generic property for initial line states

2017-06-11 Thread Oleksij Rempel
Hi Rob, On Fri, Jun 09, 2017 at 10:41:30AM -0500, Rob Herring wrote: > On Fri, Jun 9, 2017 at 9:16 AM, Oleksij Rempel > wrote: > > This property is needed for barebox or may be other bootloaders > > to set proper gpio configuration as early as possible. > > > > This example is mainly based on

[PATCH v2 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-11 Thread Rajmohan Mani
This patch adds support for TPS68470 GPIOs. There are 7 GPIOs and a few sensor related GPIOs. These GPIOs can be requested and configured as appropriate. Signed-off-by: Rajmohan Mani --- drivers/gpio/Kconfig | 14 drivers/gpio/Makefile| 1 +

[PATCH v2 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-11 Thread Rajmohan Mani
This patch adds support for TPS68470 GPIOs. There are 7 GPIOs and a few sensor related GPIOs. These GPIOs can be requested and configured as appropriate. Signed-off-by: Rajmohan Mani --- drivers/gpio/Kconfig | 14 drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps68470.c

[PATCH v2 1/3] mfd: Add new mfd device TPS68470

2017-06-11 Thread Rajmohan Mani
The TPS68470 device is an advanced power management unit that powers a Compact Camera Module (CCM), generates clocks for image sensors, drives a dual LED for Flash and incorporates two LED drivers for general purpose indicators. This patch adds support for TPS68470 mfd device. Signed-off-by:

[PATCH v2 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-06-11 Thread Rajmohan Mani
The Kabylake platform coreboot (Chrome OS equivalent of BIOS) has defined 4 operation regions for the TI TPS68470 PMIC. These operation regions are to enable/disable voltage regulators, configure voltage regulators, enable/disable clocks and to configure clocks. This config adds ACPI operation

[PATCH v2 0/3] TPS68470 PMIC drivers

2017-06-11 Thread Rajmohan Mani
This is the patch series for TPS68470 PMIC that works as a camera PMIC. The patch series provide the following 3 drivers, to help configure the voltage regulators, clocks and GPIOs provided by the TPS68470 PMIC, to be able to use the camera sensors connected to this PMIC. TPS68470 MFD driver:

[PATCH v2 0/3] TPS68470 PMIC drivers

2017-06-11 Thread Rajmohan Mani
This is the patch series for TPS68470 PMIC that works as a camera PMIC. The patch series provide the following 3 drivers, to help configure the voltage regulators, clocks and GPIOs provided by the TPS68470 PMIC, to be able to use the camera sensors connected to this PMIC. TPS68470 MFD driver:

[PATCH v2 1/3] mfd: Add new mfd device TPS68470

2017-06-11 Thread Rajmohan Mani
The TPS68470 device is an advanced power management unit that powers a Compact Camera Module (CCM), generates clocks for image sensors, drives a dual LED for Flash and incorporates two LED drivers for general purpose indicators. This patch adds support for TPS68470 mfd device. Signed-off-by:

[PATCH v2 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-06-11 Thread Rajmohan Mani
The Kabylake platform coreboot (Chrome OS equivalent of BIOS) has defined 4 operation regions for the TI TPS68470 PMIC. These operation regions are to enable/disable voltage regulators, configure voltage regulators, enable/disable clocks and to configure clocks. This config adds ACPI operation

[PATCH 1/3] scsi: qedf: Fix a return value in case of error in 'qedf_alloc_global_queues'

2017-06-11 Thread Christophe JAILLET
We should return -ENOMEM in case of memory allocation error, as done elsewhere in this function. Fixes: 61d8658b4a435 ("scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.") Signed-off-by: Christophe JAILLET --- drivers/scsi/qedf/qedf_main.c | 1 + 1

[PATCH 2/3] scsi: qedf: Use 'dma_zalloc_coherent' to reduce code verbosity.

2017-06-11 Thread Christophe JAILLET
Replace some 'dma_alloc_coherent+memset' by some quivalent 'dma_zalloc_coherent' in order to reduce code verbosity Signed-off-by: Christophe JAILLET --- drivers/scsi/qedf/qedf_main.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff

[PATCH 1/3] scsi: qedf: Fix a return value in case of error in 'qedf_alloc_global_queues'

2017-06-11 Thread Christophe JAILLET
We should return -ENOMEM in case of memory allocation error, as done elsewhere in this function. Fixes: 61d8658b4a435 ("scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.") Signed-off-by: Christophe JAILLET --- drivers/scsi/qedf/qedf_main.c | 1 + 1 file changed, 1 insertion(+)

[PATCH 2/3] scsi: qedf: Use 'dma_zalloc_coherent' to reduce code verbosity.

2017-06-11 Thread Christophe JAILLET
Replace some 'dma_alloc_coherent+memset' by some quivalent 'dma_zalloc_coherent' in order to reduce code verbosity Signed-off-by: Christophe JAILLET --- drivers/scsi/qedf/qedf_main.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git

[PATCH 0/3] scsi: qedf: Fix a return value + some cleanups

2017-06-11 Thread Christophe JAILLET
This patch serie first fixes a case where an error code was missing. The 2 other patches are just cleanups in the same area. Christophe JAILLET (3): scsi: qedf: Fix a return value in case of error in 'qedf_alloc_global_queues' scsi: qedf: Use 'dma_zalloc_coherent' to reduce code

[PATCH 3/3] scsi: qedf: Merge a few quoted strings split across lines

2017-06-11 Thread Christophe JAILLET
Merge some quoted strings to improve readability and to save some lines of code. Signed-off-by: Christophe JAILLET --- drivers/scsi/qedf/qedf_main.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git

[PATCH 0/3] scsi: qedf: Fix a return value + some cleanups

2017-06-11 Thread Christophe JAILLET
This patch serie first fixes a case where an error code was missing. The 2 other patches are just cleanups in the same area. Christophe JAILLET (3): scsi: qedf: Fix a return value in case of error in 'qedf_alloc_global_queues' scsi: qedf: Use 'dma_zalloc_coherent' to reduce code

[PATCH 3/3] scsi: qedf: Merge a few quoted strings split across lines

2017-06-11 Thread Christophe JAILLET
Merge some quoted strings to improve readability and to save some lines of code. Signed-off-by: Christophe JAILLET --- drivers/scsi/qedf/qedf_main.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/qedf/qedf_main.c

<    1   2   3   4   5