Re: [PATCH v4 4/9] staging:iio:ad7780: add chip ID values and mask

2019-02-28 Thread Ardelean, Alexandru
On Thu, 2019-02-28 at 11:24 -0300, Renato Lui Geh wrote: > > > The ad7780 supports both the ad778x and ad717x families. Each chip has > a corresponding ID. This patch provides a mask for extracting ID values > from the status bits and also macros for the correct values for the > ad7170, ad7171,

Re: [PATCH v4 5/9] staging: iio: ad7780: move regulator to after GPIO init

2019-02-28 Thread Ardelean, Alexandru
On Thu, 2019-02-28 at 11:25 -0300, Renato Lui Geh wrote: > > > To maintain consistency between ad7780_probe and ad7780_remove orders, > regulator initialization has been moved to after GPIO initializations. > > Signed-off-by: Renato Lui Geh > --- > drivers/staging/iio/adc/ad7780.c | 26

Re: [PATCH v4 3/9] staging: iio: ad7780: set pattern values and masks directly

2019-02-28 Thread Ardelean, Alexandru
On Thu, 2019-02-28 at 11:24 -0300, Renato Lui Geh wrote: > > > The AD7780 driver contains status pattern bits designed for checking > whether serial transfers have been correctly performed. Pattern macros > were previously generated through bit fields. This patch sets good > pattern values

Re: [PATCH v4 1/9] staging: iio: ad7780: add gain & filter gpio support

2019-02-28 Thread Dan Carpenter
On Fri, Mar 01, 2019 at 06:56:14AM +, Ardelean, Alexandru wrote: > On Thu, 2019-02-28 at 11:23 -0300, Renato Lui Geh wrote: > > > > > > Previously, the AD7780 driver only supported gpio for the 'powerdown' > > pin. This commit adds suppport for the 'gain' and 'filter' pin. > > > >

Re: [PATCH v4 2/9] staging: iio: ad7780: add filter reading to ad778x

2019-02-28 Thread Ardelean, Alexandru
On Thu, 2019-02-28 at 11:24 -0300, Renato Lui Geh wrote: > > > This patch adds the new feature of reading the filter odr value for > ad778x chips. This value is stored in the chip's state struct whenever a > read or write call is performed on the chip's driver. > > This feature requires sharing

Re: [PATCH v4 1/9] staging: iio: ad7780: add gain & filter gpio support

2019-02-28 Thread Ardelean, Alexandru
On Thu, 2019-02-28 at 11:23 -0300, Renato Lui Geh wrote: > > > Previously, the AD7780 driver only supported gpio for the 'powerdown' > pin. This commit adds suppport for the 'gain' and 'filter' pin. > > Signed-off-by: Renato Lui Geh > Signed-off-by: Giuliano Belinassi > Co-developed-by:

Re: [Linaro-mm-sig] [PATCH 2/4] staging: android: ion: Restrict cache maintenance to dma mapped memory

2019-02-28 Thread Liam Mark
+ Sumit Hi Sumit, Do you have any thoughts on this patch? It fixes a potential crash in on older kernel and I think limiting begin/end_cpu_access to only apply cache maintenance when the buffer is dma mapped makes sense from a logical perspective and performance perspective. On Wed, 6

Re: [PATCH] staging: rtl8192e: Fix space and suspect issue

2019-02-28 Thread Joe Perches
On Thu, 2019-02-28 at 19:07 +0100, Oscar Gomez Fuente wrote: > These changes fixed a checkpatch error for space required before the > open brace '{' as well as a warning for suspect code indent for > conditional statements. Simple enough, thanks. > diff --git

Re: [PATCH v2 0/8] mm/kdump: allow to exclude pages that are logically offline

2019-02-28 Thread Boris Ostrovsky
On 2/28/19 2:45 PM, Andrew Morton wrote: > On Wed, 27 Feb 2019 13:32:14 +0800 Dave Young wrote: > >> This series have been in -next for some days, could we get this in >> mainline? > It's been in -next for two months? > >> Andrew, do you have plan about them, maybe next release? > They're all

Re: [PATCH v2 0/8] mm/kdump: allow to exclude pages that are logically offline

2019-02-28 Thread Andrew Morton
On Wed, 27 Feb 2019 13:32:14 +0800 Dave Young wrote: > This series have been in -next for some days, could we get this in > mainline? It's been in -next for two months? > Andrew, do you have plan about them, maybe next release? They're all reviewed except for "xen/balloon: mark inflated

Re: [PATCH] staging: ks7010: removed custom Michael MIC implementation.

2019-02-28 Thread Jeremy Sowden
On 2019-02-28, at 19:17:03 +0100, Greg Kroah-Hartman wrote: > On Thu, Feb 28, 2019 at 11:15:56AM +, Jeremy Sowden wrote: > > Changed the driver to use the kernel's own implementation. > > > > Signed-off-by: Jeremy Sowden > > --- > > drivers/staging/ks7010/Makefile | 2 +- > >

Re: [PATCH] staging: ks7010: removed custom Michael MIC implementation.

2019-02-28 Thread Greg Kroah-Hartman
On Thu, Feb 28, 2019 at 11:15:56AM +, Jeremy Sowden wrote: > Changed the driver to use the kernel's own implementation. > > Signed-off-by: Jeremy Sowden > --- > drivers/staging/ks7010/Makefile | 2 +- > drivers/staging/ks7010/TODO | 2 - >

[PATCH] staging: rtl8192e: Fix space and suspect issue

2019-02-28 Thread Oscar Gomez Fuente
These changes fixed a checkpatch error for space required before the open brace '{' as well as a warning for suspect code indent for conditional statements. Signed-off-by: Oscar Gomez Fuente --- drivers/staging/rtl8192e/rtllib_wx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH AUTOSEL 4.20 36/81] binder: fix CONFIG_ANDROID_BINDER_DEVICES

2019-02-28 Thread Greg Kroah-Hartman
On Thu, Feb 28, 2019 at 10:07:28AM -0500, Sasha Levin wrote: > From: Christian Brauner > > [ Upstream commit 793c8232937610ae00bc174b87d7fc324346eaea ] > > Several users have tried to only rely on binderfs to provide binder devices > and set CONFIG_ANDROID_BINDER_DEVICES="" empty. This is a

[PATCH AUTOSEL 4.20 36/81] binder: fix CONFIG_ANDROID_BINDER_DEVICES

2019-02-28 Thread Sasha Levin
From: Christian Brauner [ Upstream commit 793c8232937610ae00bc174b87d7fc324346eaea ] Several users have tried to only rely on binderfs to provide binder devices and set CONFIG_ANDROID_BINDER_DEVICES="" empty. This is a great use-case of binderfs and one that was always intended to work.

[PATCH v4 9/9] staging: iio: ad7780: add device tree binding

2019-02-28 Thread Renato Lui Geh
Adds a device tree binding for the ad7780 driver. Signed-off-by: Renato Lui Geh --- .../bindings/iio/adc/adi,ad7780.txt | 48 +++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7780.txt diff --git

[PATCH v4 8/9] staging: iio: ad7780: moving ad7780 out of staging

2019-02-28 Thread Renato Lui Geh
Move ad7780 ADC driver out of staging and into the mainline. The ad7780 is a sigma-delta analog to digital converter. This driver provides reading voltage values and status bits from both the ad778x and ad717x series. Its interface also allows writing on the FILTER and GAIN GPIO pins on the

[PATCH v4 7/9] staging: iio: ad7780: add new copyright holder

2019-02-28 Thread Renato Lui Geh
This patch adds a new copyright holder to the ad7780 driver. Signed-off-by: Renato Lui Geh --- drivers/staging/iio/adc/ad7780.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/iio/adc/ad7780.c b/drivers/staging/iio/adc/ad7780.c index b1d4909ba025..aa1ddd0c45ee 100644 ---

[PATCH v4 6/9] staging: iio: ad7780: add SPDX identifier

2019-02-28 Thread Renato Lui Geh
Add SPDX identifier (GPL-2.0) to the AD7780 driver. Signed-off-by: Renato Lui Geh --- drivers/staging/iio/adc/ad7780.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/iio/adc/ad7780.c b/drivers/staging/iio/adc/ad7780.c index 12aef0f101bc..b1d4909ba025 100644

[PATCH v4 5/9] staging: iio: ad7780: move regulator to after GPIO init

2019-02-28 Thread Renato Lui Geh
To maintain consistency between ad7780_probe and ad7780_remove orders, regulator initialization has been moved to after GPIO initializations. Signed-off-by: Renato Lui Geh --- drivers/staging/iio/adc/ad7780.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-)

[PATCH v4 4/9] staging:iio:ad7780: add chip ID values and mask

2019-02-28 Thread Renato Lui Geh
The ad7780 supports both the ad778x and ad717x families. Each chip has a corresponding ID. This patch provides a mask for extracting ID values from the status bits and also macros for the correct values for the ad7170, ad7171, ad7780 and ad7781. Signed-off-by: Renato Lui Geh ---

[PATCH v4 3/9] staging: iio: ad7780: set pattern values and masks directly

2019-02-28 Thread Renato Lui Geh
The AD7780 driver contains status pattern bits designed for checking whether serial transfers have been correctly performed. Pattern macros were previously generated through bit fields. This patch sets good pattern values directly and masks through GENMASK. Signed-off-by: Renato Lui Geh ---

[PATCH v4 2/9] staging: iio: ad7780: add filter reading to ad778x

2019-02-28 Thread Renato Lui Geh
This patch adds the new feature of reading the filter odr value for ad778x chips. This value is stored in the chip's state struct whenever a read or write call is performed on the chip's driver. This feature requires sharing SAMP_FREQ. Since the ad717x does not have a filter option, the driver

[PATCH v4 1/9] staging: iio: ad7780: add gain & filter gpio support

2019-02-28 Thread Renato Lui Geh
Previously, the AD7780 driver only supported gpio for the 'powerdown' pin. This commit adds suppport for the 'gain' and 'filter' pin. Signed-off-by: Renato Lui Geh Signed-off-by: Giuliano Belinassi Co-developed-by: Giuliano Belinassi --- Changes in v3: - Renamed ad7780_chip_info's filter to

[PATCH v4 0/9] staging: iio: ad7780: move out of staging

2019-02-28 Thread Renato Lui Geh
This series of patches contains the following: - Adds user input for the 'gain' and 'filter' GPIO pins for the ad778x family chips; - Filter reading for the ad778x; - Sets pattern macro values and mask for PATTERN status bits; - Adds ID values for the ad7170, ad7171, ad7780 and ad7781 for ID

[PATCH] staging: ks7010: removed custom Michael MIC implementation.

2019-02-28 Thread Jeremy Sowden
Changed the driver to use the kernel's own implementation. Signed-off-by: Jeremy Sowden --- drivers/staging/ks7010/Makefile | 2 +- drivers/staging/ks7010/TODO | 2 - drivers/staging/ks7010/ks_hostif.c | 111 +++ drivers/staging/ks7010/michael_mic.c | 127

Re: [PATCH] staging: rtl8712: assign initial value to a static variable in r8712_efuse_pg_packet_write()

2019-02-28 Thread maowenan
On 2019/2/28 16:04, Greg KH wrote: > On Wed, Feb 27, 2019 at 11:33:22AM +0800, Mao Wenan wrote: >> repeat_times is a static variable, but each time when it enters >> r8712_efuse_pg_packet_write(), it is set to zero, >> this value is not consistent with last calling, so next behavior >> is not

Re: [PATCH] staging: rtl8712: assign initial value to a static variable in r8712_efuse_pg_packet_write()

2019-02-28 Thread Greg KH
On Wed, Feb 27, 2019 at 11:33:22AM +0800, Mao Wenan wrote: > repeat_times is a static variable, but each time when it enters > r8712_efuse_pg_packet_write(), it is set to zero, > this value is not consistent with last calling, so next behavior > is not our expect. > > Signed-off-by: Mao Wenan >