[PATCH] Staging : Add RIFFA PCIe driver

2018-10-21 Thread Cheng Fei Phung
This patch adds RIFFA PCIe linux driver for https://github.com/promach/riffa/tree/full_duplex/driver/linux This staging driver is modified from this upstream driver at https://github.com/KastnerRG/riffa/tree/master/driver/linux Signed-off-by: PHUNG CHENG FEI --- Changes in v1: - added

Re: [PATCH 3/3] staging: rtl8188eu: rename variable isCCKrate - style

2018-10-21 Thread Michael Straube
On 10/21/18 2:26 PM, Joe Perches wrote: It would be sensible to convert is_cck_rate from u8 to bool at the same time and remove the ternary ? true : false too. As well, perhaps remove its apparently unnecessary initialization. I've added a patch and resent the series. Thank you. Michael

[PATCH v2 3/4] staging: rtl8188eu: rename variable isCCKrate - style

2018-10-21 Thread Michael Straube
Rename the variable isCCKrate to avoid CamelCase. isCCKrate -> is_cck_rate Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/odm_hwconfig.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm_hwconfig.c

[PATCH v2 1/4] staging: rtl8188eu: simplify odm_evm_db_to_percentage()

2018-10-21 Thread Michael Straube
Use clamp() to simplify code in odm_evm_db_to_percentage(). Signed-off-by: Michael Straube --- v1 -> v2: Added patch with suggestions from Joe Perches applied. drivers/staging/rtl8188eu/hal/odm_hwconfig.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git

[PATCH v2 2/4] staging: rtl8188eu: rename variable Max_spatial_stream - style

2018-10-21 Thread Michael Straube
Rename the variable Max_spatial_stream to avoid CamelCase. Max_spatial_stream -> max_spatial_stream Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/odm_hwconfig.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v2 4/4] staging: rtl8188eu: change type of is_cck_rate - style

2018-10-21 Thread Michael Straube
The variable is_cck_rate is used for boolean values, so change the type from u8 to bool. The initializations to zero and use of ternary operator in the assignments are unnecessary, remove them as well. Suggested-by: Joe Perches Signed-off-by: Michael Straube ---

Re: [PATCH 1/2] staging: iio: ad7606: Move out of staging

2018-10-21 Thread Jonathan Cameron
On Thu, 18 Oct 2018 12:10:32 +0300 Stefan Popa wrote: > Move ad7606 ADC driver out of staging and into the mainline. > > Signed-off-by: Stefan Popa Hi Stefan, Great to be moving forward on this. A few comments inline. There are some somewhat old school structures in here we can do better

INVESTMENT PROPOSAL / LOAN

2018-10-21 Thread Mr. Richard Rose
Good day, I am financial consultant based in Doha Qatar. I have a client from a ruling family Retired Qatari Government Official he is one of this people with floating free cash for major investments .Or Loan. He wishes to invest in a stable economy outside Qatar and his interest is in

Re: [PATCH v2] staging: iio: ad7816: Switch to the gpio descriptor interface

2018-10-21 Thread Jonathan Cameron
On Thu, 18 Oct 2018 09:40:00 +0200 Lars-Peter Clausen wrote: > On 10/18/2018 09:28 AM, Phil Reid wrote: > [...] > >> +    chip->rdwr_pin = devm_gpiod_get(_dev->dev, "rdwr", GPIOD_IN); > >> +    if (IS_ERR(chip->rdwr_pin)) { > >> +    ret = PTR_ERR(chip->rdwr_pin); > >> +   

Re: [PATCH v2] Staging iio: adc: Match parenthesis alignment

2018-10-21 Thread Jonathan Cameron
On Wed, 17 Oct 2018 22:31:47 -0300 Marcelo Schmitt wrote: > Change close parenthesis alignment to match respective open parenthesis at > iio/drivers/staging/iio/adc/ad7606.c line 379. > This makes the file more compliant with the preferred coding style for the > linux kernel. Hi Marcelo, Nice

Re: [PATCH 3/3] staging: rtl8188eu: rename variable isCCKrate - style

2018-10-21 Thread Joe Perches
On Sat, 2018-10-20 at 13:08 +0200, Michael Straube wrote: > Rename the variable isCCKrate to avoid CamelCase. > isCCKrate -> is_cck_rate [] > diff --git a/drivers/staging/rtl8188eu/hal/odm_hwconfig.c > b/drivers/staging/rtl8188eu/hal/odm_hwconfig.c [] > @@ -71,19 +71,20 @@ static void

Facts First.

2018-10-21 Thread Admin Staff
Hello, I am very sorry reaching you through this medium. I am a member of the European Debt Recovery Unit and I am aware of your ordeal about your unpaid fund. It may interest you to know that not long after the Debt Management Office (DMO) completed the merger and acquisition process of all

Re: [PATCH] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-21 Thread Slawomir Stepien
On paź 21, 2018 10:31, Slawomir Stepien wrote: > On paź 21, 2018 11:49, Nishad Kamdar wrote: > > -static int ad2s1210_setup_gpios(struct ad2s1210_state *st) > > +static int ad2s1210_setup_gpios(struct spi_device *spi, > > + struct ad2s1210_state *st) > > This change is

Re: [PATCH] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-21 Thread Slawomir Stepien
On paź 21, 2018 11:49, Nishad Kamdar wrote: > Use the gpiod interface instead of the deprecated old non-descriptor > interface. Hi! See my comments below. > Signed-off-by: Nishad Kamdar > --- > drivers/staging/iio/resolver/ad2s1210.c | 110 +++- >

[PATCH] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-21 Thread Nishad Kamdar
Use the gpiod interface instead of the deprecated old non-descriptor interface. Signed-off-by: Nishad Kamdar --- drivers/staging/iio/resolver/ad2s1210.c | 110 +++- drivers/staging/iio/resolver/ad2s1210.h | 3 - 2 files changed, 71 insertions(+), 42 deletions(-) diff