Re: [PATCH] wilc1000: write value to WILC_INTR2_ENABLE register

2021-02-25 Thread Marcus Folkesson
Hi, On Thu, Feb 25, 2021 at 09:09:30AM +0200, Kalle Valo wrote: > writes: > > > On 24/02/21 10:13 pm, Kalle Valo wrote: > >> EXTERNAL EMAIL: Do not click links or open attachments unless you > >> know the content is safe > >> > >> Marcus Folkes

[PATCH] wilc1000: write value to WILC_INTR2_ENABLE register

2021-02-24 Thread Marcus Folkesson
Write the value instead of reading it twice. Fixes: 5e63a598441a ("staging: wilc1000: added 'wilc_' prefix for function in wilc_sdio.c file") Signed-off-by: Marcus Folkesson --- drivers/net/wireless/microchip/wilc1000/sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 1/2] watchdog: sama5d4: fix timeout-sec usage

2018-09-15 Thread Marcus Folkesson
to the device. > > Fixes: 976932e40036 ("watchdog: sama5d4: make use of timeout-secs provided in > devicetree") > Signed-off-by: Romain Izard Reviewed-by: Marcus Folkesson

Re: [PATCH 1/2] watchdog: sama5d4: fix timeout-sec usage

2018-09-15 Thread Marcus Folkesson
to the device. > > Fixes: 976932e40036 ("watchdog: sama5d4: make use of timeout-secs provided in > devicetree") > Signed-off-by: Romain Izard Reviewed-by: Marcus Folkesson

[PATCH] iio: dac: ti-dac5571: make vref regulator optional

2018-08-24 Thread Marcus Folkesson
The `vref` regulator is declared as optional in the device-tree binding, but the driver does require it. Go for the device-tree binding and make the `vref` regulator optional. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/ti-dac5571.c | 30 ++ 1 file changed

[PATCH] iio: dac: ti-dac5571: provide of_match_table to driver

2018-08-24 Thread Marcus Folkesson
Use the created list of of_device_id's as a match table. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/ti-dac5571.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/dac/ti-dac5571.c b/drivers/iio/dac/ti-dac5571.c index e39d1e901353..f6dcd8bce2b0 100644 --- a/drivers/iio/dac

[PATCH] iio: dac: mcp4922: fix error handling in mcp4922_write_raw

2018-08-24 Thread Marcus Folkesson
Do not try to write negative values and make sure that the write goes well. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/mcp4922.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/iio/dac/mcp4922.c b/drivers/iio/dac/mcp4922.c index bf9aa3fc0534

[PATCH] iio: dac: ti-dac5571: make vref regulator optional

2018-08-24 Thread Marcus Folkesson
The `vref` regulator is declared as optional in the device-tree binding, but the driver does require it. Go for the device-tree binding and make the `vref` regulator optional. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/ti-dac5571.c | 30 ++ 1 file changed

[PATCH] iio: dac: ti-dac5571: provide of_match_table to driver

2018-08-24 Thread Marcus Folkesson
Use the created list of of_device_id's as a match table. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/ti-dac5571.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/dac/ti-dac5571.c b/drivers/iio/dac/ti-dac5571.c index e39d1e901353..f6dcd8bce2b0 100644 --- a/drivers/iio/dac

[PATCH] iio: dac: mcp4922: fix error handling in mcp4922_write_raw

2018-08-24 Thread Marcus Folkesson
Do not try to write negative values and make sure that the write goes well. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/mcp4922.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/iio/dac/mcp4922.c b/drivers/iio/dac/mcp4922.c index bf9aa3fc0534

Re: [PATCH v2 2/3] dt-bindings: iio: dac: add bindings for ltc1660

2018-08-22 Thread Marcus Folkesson
On Tue, Aug 21, 2018 at 09:31:25PM +0200, Marcus Folkesson wrote: > LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) > with eight individual channels. > > Signed-off-by: Marcus Folkesson Rob, sorry I missed your tag. Reviewed-by: Rob Herring > --- >

Re: [PATCH v2 2/3] dt-bindings: iio: dac: add bindings for ltc1660

2018-08-22 Thread Marcus Folkesson
On Tue, Aug 21, 2018 at 09:31:25PM +0200, Marcus Folkesson wrote: > LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) > with eight individual channels. > > Signed-off-by: Marcus Folkesson Rob, sorry I missed your tag. Reviewed-by: Rob Herring > --- >

[PATCH v2 3/3] MAINTAINERS: add entry for ltc1660 DAC driver

2018-08-21 Thread Marcus Folkesson
Add entry for ltc1660 DAC driver and add myself as maintainer of this driver. Signed-off-by: Marcus Folkesson --- Notes: v2: - rename enumerated files, ltc166x* -> ltc1660* MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS in

[PATCH v2 3/3] MAINTAINERS: add entry for ltc1660 DAC driver

2018-08-21 Thread Marcus Folkesson
Add entry for ltc1660 DAC driver and add myself as maintainer of this driver. Signed-off-by: Marcus Folkesson --- Notes: v2: - rename enumerated files, ltc166x* -> ltc1660* MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS in

[PATCH v2 2/3] dt-bindings: iio: dac: add bindings for ltc1660

2018-08-21 Thread Marcus Folkesson
LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) with eight individual channels. Signed-off-by: Marcus Folkesson --- Notes: v2: - rename file, ltc166x -> ltc1660 .../devicetree/bindings/iio/dac/ltc1660.txt | 21 + 1 file changed,

[PATCH v2 1/3] iio: dac: add support for ltc1660

2018-08-21 Thread Marcus Folkesson
LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) with eight individual channels. Signed-off-by: Marcus Folkesson --- Notes: v2: - rename all instances of ltc166x to ltc1660 - read regulator value "in-place" instead of cache voltage - fix erro

[PATCH v2 2/3] dt-bindings: iio: dac: add bindings for ltc1660

2018-08-21 Thread Marcus Folkesson
LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) with eight individual channels. Signed-off-by: Marcus Folkesson --- Notes: v2: - rename file, ltc166x -> ltc1660 .../devicetree/bindings/iio/dac/ltc1660.txt | 21 + 1 file changed,

[PATCH v2 1/3] iio: dac: add support for ltc1660

2018-08-21 Thread Marcus Folkesson
LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) with eight individual channels. Signed-off-by: Marcus Folkesson --- Notes: v2: - rename all instances of ltc166x to ltc1660 - read regulator value "in-place" instead of cache voltage - fix erro

Re: [PATCH v6 1/2] iio: light: Add support for vishay vcnl4035

2018-08-19 Thread Marcus Folkesson
struct iio_dev *indio_dev = i2c_get_clientdata(client); > + > + iio_device_unregister(indio_dev); > + > + pm_runtime_dont_use_autosuspend(>dev); > + pm_runtime_disable(>dev); > + pm_runtime_set_suspended(>dev); > + pm_runtime_put_noidle(>dev); > + > + return vcnl4035_set_als_power_state(iio_priv(indio_dev), > + VCNL4035_MODE_ALS_DISABLE); > +} > + > +#ifdef CONFIG_PM > +static int __maybe_unused vcnl4035_runtime_suspend(struct device *dev) > +{ > + struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); > + struct vcnl4035_data *data = iio_priv(indio_dev); > + int ret; > + > + ret = vcnl4035_set_als_power_state(data, VCNL4035_MODE_ALS_DISABLE); > + regcache_mark_dirty(data->regmap); > + > + return ret; > +} > + > +static int __maybe_unused vcnl4035_runtime_resume(struct device *dev) > +{ > + struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); > + struct vcnl4035_data *data = iio_priv(indio_dev); > + int ret; > + > + regcache_sync(data->regmap); > + ret = vcnl4035_set_als_power_state(data, VCNL4035_MODE_ALS_ENABLE); > + if (ret < 0) > + return ret; > + > + /* wait for 1 ALS integration cycle */ > + msleep(data->als_it_val * 100); > + > + return 0; > +} > +#endif > + > +static const struct dev_pm_ops vcnl4035_pm_ops = { > + SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, > + pm_runtime_force_resume) > + SET_RUNTIME_PM_OPS(vcnl4035_runtime_suspend, > +vcnl4035_runtime_resume, NULL) > +}; > + > +static const struct of_device_id vcnl4035_of_match[] = { > + { .compatible = "vishay,vcnl4035", }, > + { } > +}; > +MODULE_DEVICE_TABLE(of, vcnl4035_of_match); > + > +static struct i2c_driver vcnl4035_driver = { > + .driver = { > + .name = VCNL4035_DRV_NAME, > + .pm = _pm_ops, > + .of_match_table = of_match_ptr(vcnl4035_of_match), Please correct me if I'm wrong here. Use of_match_ptr() and not provide an ACPI match table will not make this driver work on ACPI systems. The reason is that the ACPI match function will fall back on of_match_table if no acpi_match_table is provided, and the of_match_ptr() macro will simple evaluate to NULL if not CONFIG_OF is set. In other words, I think we should change this to just .of_match_table = _of_match, > + }, > + .probe = vcnl4035_probe, > + .remove = vcnl4035_remove, > +}; > + > +module_i2c_driver(vcnl4035_driver); > + > +MODULE_AUTHOR("Parthiban Nallathambi "); > +MODULE_DESCRIPTION("VCNL4035 Ambient Light Sensor driver"); > +MODULE_LICENSE("GPL v2"); > -- > 2.14.4 > Best regards Marcus Folkesson signature.asc Description: PGP signature

Re: [PATCH v6 1/2] iio: light: Add support for vishay vcnl4035

2018-08-19 Thread Marcus Folkesson
struct iio_dev *indio_dev = i2c_get_clientdata(client); > + > + iio_device_unregister(indio_dev); > + > + pm_runtime_dont_use_autosuspend(>dev); > + pm_runtime_disable(>dev); > + pm_runtime_set_suspended(>dev); > + pm_runtime_put_noidle(>dev); > + > + return vcnl4035_set_als_power_state(iio_priv(indio_dev), > + VCNL4035_MODE_ALS_DISABLE); > +} > + > +#ifdef CONFIG_PM > +static int __maybe_unused vcnl4035_runtime_suspend(struct device *dev) > +{ > + struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); > + struct vcnl4035_data *data = iio_priv(indio_dev); > + int ret; > + > + ret = vcnl4035_set_als_power_state(data, VCNL4035_MODE_ALS_DISABLE); > + regcache_mark_dirty(data->regmap); > + > + return ret; > +} > + > +static int __maybe_unused vcnl4035_runtime_resume(struct device *dev) > +{ > + struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); > + struct vcnl4035_data *data = iio_priv(indio_dev); > + int ret; > + > + regcache_sync(data->regmap); > + ret = vcnl4035_set_als_power_state(data, VCNL4035_MODE_ALS_ENABLE); > + if (ret < 0) > + return ret; > + > + /* wait for 1 ALS integration cycle */ > + msleep(data->als_it_val * 100); > + > + return 0; > +} > +#endif > + > +static const struct dev_pm_ops vcnl4035_pm_ops = { > + SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, > + pm_runtime_force_resume) > + SET_RUNTIME_PM_OPS(vcnl4035_runtime_suspend, > +vcnl4035_runtime_resume, NULL) > +}; > + > +static const struct of_device_id vcnl4035_of_match[] = { > + { .compatible = "vishay,vcnl4035", }, > + { } > +}; > +MODULE_DEVICE_TABLE(of, vcnl4035_of_match); > + > +static struct i2c_driver vcnl4035_driver = { > + .driver = { > + .name = VCNL4035_DRV_NAME, > + .pm = _pm_ops, > + .of_match_table = of_match_ptr(vcnl4035_of_match), Please correct me if I'm wrong here. Use of_match_ptr() and not provide an ACPI match table will not make this driver work on ACPI systems. The reason is that the ACPI match function will fall back on of_match_table if no acpi_match_table is provided, and the of_match_ptr() macro will simple evaluate to NULL if not CONFIG_OF is set. In other words, I think we should change this to just .of_match_table = _of_match, > + }, > + .probe = vcnl4035_probe, > + .remove = vcnl4035_remove, > +}; > + > +module_i2c_driver(vcnl4035_driver); > + > +MODULE_AUTHOR("Parthiban Nallathambi "); > +MODULE_DESCRIPTION("VCNL4035 Ambient Light Sensor driver"); > +MODULE_LICENSE("GPL v2"); > -- > 2.14.4 > Best regards Marcus Folkesson signature.asc Description: PGP signature

Re: [PATCH v4 1/3] iio: adc: add support for mcp3911

2018-08-19 Thread Marcus Folkesson
On Sun, Aug 19, 2018 at 08:29:43PM +0100, Jonathan Cameron wrote: > On Sun, 19 Aug 2018 21:17:51 +0200 > Marcus Folkesson wrote: > > > On Sun, Aug 19, 2018 at 08:02:57PM +0100, Jonathan Cameron wrote: > > > On Wed, 8 Aug 2018 10:09:15 +0200 >

Re: [PATCH v4 1/3] iio: adc: add support for mcp3911

2018-08-19 Thread Marcus Folkesson
On Sun, Aug 19, 2018 at 08:29:43PM +0100, Jonathan Cameron wrote: > On Sun, 19 Aug 2018 21:17:51 +0200 > Marcus Folkesson wrote: > > > On Sun, Aug 19, 2018 at 08:02:57PM +0100, Jonathan Cameron wrote: > > > On Wed, 8 Aug 2018 10:09:15 +0200 >

Re: [PATCH v4 1/3] iio: adc: add support for mcp3911

2018-08-19 Thread Marcus Folkesson
On Sun, Aug 19, 2018 at 08:02:57PM +0100, Jonathan Cameron wrote: > On Wed, 8 Aug 2018 10:09:15 +0200 > Marcus Folkesson wrote: > > > MCP3911 is a dual channel Analog Front End (AFE) containing two > > synchronous sampling delta-sigma Analog-to-Digital Converters (ADC).

Re: [PATCH v4 1/3] iio: adc: add support for mcp3911

2018-08-19 Thread Marcus Folkesson
On Sun, Aug 19, 2018 at 08:02:57PM +0100, Jonathan Cameron wrote: > On Wed, 8 Aug 2018 10:09:15 +0200 > Marcus Folkesson wrote: > > > MCP3911 is a dual channel Analog Front End (AFE) containing two > > synchronous sampling delta-sigma Analog-to-Digital Converters (ADC).

Re: [PATCH 1/3] iio: dac: add support for ltc166x

2018-08-19 Thread Marcus Folkesson
Hi Jonathan, Thanks for your comments! On Sun, Aug 19, 2018 at 05:38:50PM +0100, Jonathan Cameron wrote: > On Sat, 11 Aug 2018 22:02:24 +0200 > Marcus Folkesson wrote: > > > LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter > > (DAC) with eight individual channels

Re: [PATCH 1/3] iio: dac: add support for ltc166x

2018-08-19 Thread Marcus Folkesson
Hi Jonathan, Thanks for your comments! On Sun, Aug 19, 2018 at 05:38:50PM +0100, Jonathan Cameron wrote: > On Sat, 11 Aug 2018 22:02:24 +0200 > Marcus Folkesson wrote: > > > LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter > > (DAC) with eight individual channels

Re: [PATCH] iio: accel: cros_ec_accel_legacy: Mark expected switch fall-throughs

2018-08-18 Thread Marcus Folkesson
Hi Gutavo, Sorry for the delay. On Wed, Aug 15, 2018 at 12:50:10PM -0500, Gustavo A. R. Silva wrote: > Hi Marcus, > > On 8/15/18 12:27 PM, Marcus Folkesson wrote: > > Hi, > > > > On Wed, Aug 15, 2018 at 11:38:52AM -0500, Gustavo A. R. Silva wrote: > >> I

Re: [PATCH] iio: accel: cros_ec_accel_legacy: Mark expected switch fall-throughs

2018-08-18 Thread Marcus Folkesson
Hi Gutavo, Sorry for the delay. On Wed, Aug 15, 2018 at 12:50:10PM -0500, Gustavo A. R. Silva wrote: > Hi Marcus, > > On 8/15/18 12:27 PM, Marcus Folkesson wrote: > > Hi, > > > > On Wed, Aug 15, 2018 at 11:38:52AM -0500, Gustavo A. R. Silva wrote: > >> I

Re: [PATCH] iio: accel: cros_ec_accel_legacy: Mark expected switch fall-throughs

2018-08-15 Thread Marcus Folkesson
ex = Z; for (i = X ; i < MAX_AXIS; i++) { if (state->sensor_num == MOTIONSENSE_LOC_LID && i != Y) state->sign[i] = -1; else state->sign[i] = 1; } Best regards, Marcus Folkesson > -- > 2.7.4 > signature.asc Description: PGP signature

Re: [PATCH] iio: accel: cros_ec_accel_legacy: Mark expected switch fall-throughs

2018-08-15 Thread Marcus Folkesson
ex = Z; for (i = X ; i < MAX_AXIS; i++) { if (state->sensor_num == MOTIONSENSE_LOC_LID && i != Y) state->sign[i] = -1; else state->sign[i] = 1; } Best regards, Marcus Folkesson > -- > 2.7.4 > signature.asc Description: PGP signature

[PATCH 1/3] iio: dac: add support for ltc166x

2018-08-11 Thread Marcus Folkesson
LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) with eight individual channels. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/Kconfig | 10 ++ drivers/iio/dac/Makefile | 1 + drivers/iio/dac/ltc166x.c | 244 ++ 3 files

[PATCH 2/3] dt-bindings: iio: dac: add bindings for ltc166x

2018-08-11 Thread Marcus Folkesson
LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) with eight individual channels. Signed-off-by: Marcus Folkesson --- .../devicetree/bindings/iio/dac/ltc166x.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree

[PATCH 1/3] iio: dac: add support for ltc166x

2018-08-11 Thread Marcus Folkesson
LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) with eight individual channels. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/Kconfig | 10 ++ drivers/iio/dac/Makefile | 1 + drivers/iio/dac/ltc166x.c | 244 ++ 3 files

[PATCH 2/3] dt-bindings: iio: dac: add bindings for ltc166x

2018-08-11 Thread Marcus Folkesson
LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) with eight individual channels. Signed-off-by: Marcus Folkesson --- .../devicetree/bindings/iio/dac/ltc166x.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree

[PATCH 3/3] MAINTAINERS: add entry for ltc166x DAC driver

2018-08-11 Thread Marcus Folkesson
Add entry for ltc166x DAC driver and add myself as maintainer of this driver. Signed-off-by: Marcus Folkesson --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9276da915d9d..2dc4c773fb2e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH 3/3] MAINTAINERS: add entry for ltc166x DAC driver

2018-08-11 Thread Marcus Folkesson
Add entry for ltc166x DAC driver and add myself as maintainer of this driver. Signed-off-by: Marcus Folkesson --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9276da915d9d..2dc4c773fb2e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[RESEND PATCH] iio: dac: max517: avoid using CONFIG_PM_SLEEP

2018-08-11 Thread Marcus Folkesson
This is already handled by SIMPLE_DEV_PM_OPS(). Signed-off-by: Marcus Folkesson --- Somehow git-send-email messed up (?!) the format for (at least) gmail, so resend it. Mutt still read the mail correct though. drivers/iio/dac/max517.c | 11 +++ 1 file changed, 3 insertions(+), 8

[RESEND PATCH] iio: dac: max517: avoid using CONFIG_PM_SLEEP

2018-08-11 Thread Marcus Folkesson
This is already handled by SIMPLE_DEV_PM_OPS(). Signed-off-by: Marcus Folkesson --- Somehow git-send-email messed up (?!) the format for (at least) gmail, so resend it. Mutt still read the mail correct though. drivers/iio/dac/max517.c | 11 +++ 1 file changed, 3 insertions(+), 8

[RESEND PATCH] iio: dac: mcp4725: avoid using CONFIG_PM_SLEEP

2018-08-11 Thread Marcus Folkesson
This is already handled by SIMPLE_DEV_PM_OPS(). Signed-off-by: Marcus Folkesson --- Somehow git-send-email messed up (?!) the format for (at least) gmail, so resend it. Mutt still read the mail correct though. drivers/iio/dac/mcp4725.c | 12 +++- 1 file changed, 3 insertions(+), 9

[RESEND PATCH] iio: dac: max5821: avoid using CONFIG_PM_SLEEP

2018-08-11 Thread Marcus Folkesson
This is already handled by SIMPLE_DEV_PM_OPS(). Signed-off-by: Marcus Folkesson --- Somehow git-send-email messed up (?!) the format for (at least) gmail, so resend it. Mutt still read the mail correct though. drivers/iio/dac/max5821.c | 11 +++ 1 file changed, 3 insertions(+), 8

[RESEND PATCH] iio: dac: mcp4725: avoid using CONFIG_PM_SLEEP

2018-08-11 Thread Marcus Folkesson
This is already handled by SIMPLE_DEV_PM_OPS(). Signed-off-by: Marcus Folkesson --- Somehow git-send-email messed up (?!) the format for (at least) gmail, so resend it. Mutt still read the mail correct though. drivers/iio/dac/mcp4725.c | 12 +++- 1 file changed, 3 insertions(+), 9

[RESEND PATCH] iio: dac: max5821: avoid using CONFIG_PM_SLEEP

2018-08-11 Thread Marcus Folkesson
This is already handled by SIMPLE_DEV_PM_OPS(). Signed-off-by: Marcus Folkesson --- Somehow git-send-email messed up (?!) the format for (at least) gmail, so resend it. Mutt still read the mail correct though. drivers/iio/dac/max5821.c | 11 +++ 1 file changed, 3 insertions(+), 8

Re: [PATCH v4 5/6] iio:adxl372: Add sampling frequency support

2018-08-10 Thread Marcus Folkesson
ampling_frequency_available.dev_attr.attr, > + NULL, > +}; > + > +static const struct attribute_group adxl372_attrs_group = { > + .attrs = adxl372_attributes, > +}; > + > static const struct iio_info adxl372_info = { > + .attrs = _attrs_group, > .read_raw = adxl372_read_raw, > + .write_raw = adxl372_write_raw, > .debugfs_reg_access = _reg_access, > .hwfifo_set_watermark = adxl372_set_watermark, > }; > -- > 2.7.4 Best regards, Marcus Folkesson > signature.asc Description: PGP signature

Re: [PATCH v4 5/6] iio:adxl372: Add sampling frequency support

2018-08-10 Thread Marcus Folkesson
ampling_frequency_available.dev_attr.attr, > + NULL, > +}; > + > +static const struct attribute_group adxl372_attrs_group = { > + .attrs = adxl372_attributes, > +}; > + > static const struct iio_info adxl372_info = { > + .attrs = _attrs_group, > .read_raw = adxl372_read_raw, > + .write_raw = adxl372_write_raw, > .debugfs_reg_access = _reg_access, > .hwfifo_set_watermark = adxl372_set_watermark, > }; > -- > 2.7.4 Best regards, Marcus Folkesson > signature.asc Description: PGP signature

Re: [PATCH v4 1/6] iio: adxl372: New driver for Analog Devices ADXL372 Accelerometer

2018-08-10 Thread Marcus Folkesson
> index 000..db9ecd2 > --- /dev/null > +++ b/drivers/iio/accel/adxl372.c > @@ -0,0 +1,525 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * ADXL372 3-Axis Digital Accelerometer SPI driver > + * > + * Copyright 2018 Analog Devices Inc. > + */ Please make the SPDX-identifier and MODULE_LICENCE match here as well. Either SPDX-License-Identifier: GPL-2.0+ MODULE_LICENSE("GPL") or SPDX-License-Identifier: GPL-2.0 MODULE_LICENSE("GPL v2") Thanks! Marcus Folkesson signature.asc Description: PGP signature

Re: [PATCH v4 1/6] iio: adxl372: New driver for Analog Devices ADXL372 Accelerometer

2018-08-10 Thread Marcus Folkesson
> index 000..db9ecd2 > --- /dev/null > +++ b/drivers/iio/accel/adxl372.c > @@ -0,0 +1,525 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * ADXL372 3-Axis Digital Accelerometer SPI driver > + * > + * Copyright 2018 Analog Devices Inc. > + */ Please make the SPDX-identifier and MODULE_LICENCE match here as well. Either SPDX-License-Identifier: GPL-2.0+ MODULE_LICENSE("GPL") or SPDX-License-Identifier: GPL-2.0 MODULE_LICENSE("GPL v2") Thanks! Marcus Folkesson signature.asc Description: PGP signature

[PATCH] iio: dac: max517: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/max517.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/iio/dac/max517.c b/drivers/iio/dac/max517.c index 1d853247a205..451d10e323cf 100644 --- a/drivers/iio

[PATCH] iio: dac: mcp4725: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/mcp4725.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/iio/dac/mcp4725.c b/drivers/iio/dac/mcp4725.c index 8b5aad4c32d9..6d71fd905e29 100644 --- a/drivers

[PATCH] iio: dac: max5821: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/max5821.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/iio/dac/max5821.c b/drivers/iio/dac/max5821.c index d0ecc1fdd8fc..f0cf6903dcd2 100644 --- a/drivers

[PATCH] iio: dac: max517: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/max517.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/iio/dac/max517.c b/drivers/iio/dac/max517.c index 1d853247a205..451d10e323cf 100644 --- a/drivers/iio

[PATCH] iio: dac: mcp4725: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/mcp4725.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/iio/dac/mcp4725.c b/drivers/iio/dac/mcp4725.c index 8b5aad4c32d9..6d71fd905e29 100644 --- a/drivers

[PATCH] iio: dac: max5821: avoid using CONFIG_PM_SLEEP

2018-08-10 Thread Marcus Folkesson
SIMPLE_DEV_PM_OPS() is already doing this. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/max5821.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/iio/dac/max5821.c b/drivers/iio/dac/max5821.c index d0ecc1fdd8fc..f0cf6903dcd2 100644 --- a/drivers

Re: [PATCH v6 1/6] iio: adxl372: New driver for Analog Devices ADXL372 Accelerometer

2018-08-10 Thread Marcus Folkesson
ex 000..db9ecd2 > --- /dev/null > +++ b/drivers/iio/accel/adxl372.c > @@ -0,0 +1,525 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* The SPDX identifier "GPL-2.0+" is "GPL v2 or later", and the MODULE_LICENSE "GPL v2" is "GPL v2 only"

Re: [PATCH v6 1/6] iio: adxl372: New driver for Analog Devices ADXL372 Accelerometer

2018-08-10 Thread Marcus Folkesson
ex 000..db9ecd2 > --- /dev/null > +++ b/drivers/iio/accel/adxl372.c > @@ -0,0 +1,525 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* The SPDX identifier "GPL-2.0+" is "GPL v2 or later", and the MODULE_LICENSE "GPL v2" is "GPL v2 only"

[PATCH v4 1/3] iio: adc: add support for mcp3911

2018-08-08 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Co-Developed-by: Kent Gustavsson Signed-off-by: Kent Gustavsson Signed-off-by: Marcus Folkesson --- Notes: v4: - remove defined(CONFIG_OF

[PATCH v4 3/3] MAINTAINERS: Add entry for mcp3911 ADC driver

2018-08-08 Thread Marcus Folkesson
Add an entry for mcp3911 ADC driver and add myself and Kent Gustavsson as maintainers of this driver. Co-Developed-by: Kent Gustavsson Signed-off-by: Kent Gustavsson Signed-off-by: Marcus Folkesson --- Notes: v4: - add Kent as co-developer v3: - no changes v2

[PATCH v4 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-08-08 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Co-Developed-by: Kent Gustavsson Signed-off-by: Kent Gustavsson Signed-off-by: Marcus Folkesson Reviewed-by: Rob Herring --- Notes: v4: - remove

[PATCH v4 1/3] iio: adc: add support for mcp3911

2018-08-08 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Co-Developed-by: Kent Gustavsson Signed-off-by: Kent Gustavsson Signed-off-by: Marcus Folkesson --- Notes: v4: - remove defined(CONFIG_OF

[PATCH v4 3/3] MAINTAINERS: Add entry for mcp3911 ADC driver

2018-08-08 Thread Marcus Folkesson
Add an entry for mcp3911 ADC driver and add myself and Kent Gustavsson as maintainers of this driver. Co-Developed-by: Kent Gustavsson Signed-off-by: Kent Gustavsson Signed-off-by: Marcus Folkesson --- Notes: v4: - add Kent as co-developer v3: - no changes v2

[PATCH v4 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-08-08 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Co-Developed-by: Kent Gustavsson Signed-off-by: Kent Gustavsson Signed-off-by: Marcus Folkesson Reviewed-by: Rob Herring --- Notes: v4: - remove

Re: [PATCH v3 1/3] iio: adc: add support for mcp3911

2018-08-04 Thread Marcus Folkesson
Hi Andy and Jonathan, On Fri, Aug 03, 2018 at 11:09:22PM +0100, Jonathan Cameron wrote: > On Thu, 2 Aug 2018 22:52:00 +0300 > Andy Shevchenko wrote: > > > On Thu, Aug 2, 2018 at 10:15 PM, Marcus Folkesson > > wrote: > > > MCP3911 is a dual channel Analog

Re: [PATCH v3 1/3] iio: adc: add support for mcp3911

2018-08-04 Thread Marcus Folkesson
Hi Andy and Jonathan, On Fri, Aug 03, 2018 at 11:09:22PM +0100, Jonathan Cameron wrote: > On Thu, 2 Aug 2018 22:52:00 +0300 > Andy Shevchenko wrote: > > > On Thu, Aug 2, 2018 at 10:15 PM, Marcus Folkesson > > wrote: > > > MCP3911 is a dual channel Analog

[PATCH v3 3/3] MAINTAINERS: Add entry for mcp3911 ADC driver

2018-08-02 Thread Marcus Folkesson
Add an entry for mcp3911 ADC driver and add myself and Kent Gustavsson as maintainers of this driver. Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v3: - no changes v2: - no changes MAINTAINERS | 8 1 file changed, 8 insertions

[PATCH v3 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-08-02 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v3: - add bindings for interrupt - prefix device-addr

[PATCH v3 3/3] MAINTAINERS: Add entry for mcp3911 ADC driver

2018-08-02 Thread Marcus Folkesson
Add an entry for mcp3911 ADC driver and add myself and Kent Gustavsson as maintainers of this driver. Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v3: - no changes v2: - no changes MAINTAINERS | 8 1 file changed, 8 insertions

[PATCH v3 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-08-02 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v3: - add bindings for interrupt - prefix device-addr

[PATCH v3 1/3] iio: adc: add support for mcp3911

2018-08-02 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v3: - rename adc_clk to clki - add error handling/cleanup for clock

[PATCH v3 1/3] iio: adc: add support for mcp3911

2018-08-02 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v3: - rename adc_clk to clki - add error handling/cleanup for clock

Re: [PATCH v2 1/3] iio: adc: add support for mcp3911

2018-08-02 Thread Marcus Folkesson
Hi Jonathan, Sorry for the delay, I've been away from keyboard for a few days. On Sun, Jul 29, 2018 at 12:44:22PM +0100, Jonathan Cameron wrote: > On Tue, 24 Jul 2018 20:30:02 +0200 > Marcus Folkesson wrote: > > > MCP3911 is a dual channel Analog Front End (AFE) containing two

Re: [PATCH v2 1/3] iio: adc: add support for mcp3911

2018-08-02 Thread Marcus Folkesson
Hi Jonathan, Sorry for the delay, I've been away from keyboard for a few days. On Sun, Jul 29, 2018 at 12:44:22PM +0100, Jonathan Cameron wrote: > On Tue, 24 Jul 2018 20:30:02 +0200 > Marcus Folkesson wrote: > > > MCP3911 is a dual channel Analog Front End (AFE) containing two

Re: [PATCH v2 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-07-25 Thread Marcus Folkesson
Hello Rob, Thank you for the review. On Wed, Jul 25, 2018 at 11:51:17AM -0600, Rob Herring wrote: > On Tue, Jul 24, 2018 at 08:30:03PM +0200, Marcus Folkesson wrote: > > MCP3911 is a dual channel Analog Front End (AFE) containing two > > synchronous sampling delta-sigma An

Re: [PATCH v2 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-07-25 Thread Marcus Folkesson
Hello Rob, Thank you for the review. On Wed, Jul 25, 2018 at 11:51:17AM -0600, Rob Herring wrote: > On Tue, Jul 24, 2018 at 08:30:03PM +0200, Marcus Folkesson wrote: > > MCP3911 is a dual channel Analog Front End (AFE) containing two > > synchronous sampling delta-sigma An

[PATCH v2 1/3] iio: adc: add support for mcp3911

2018-07-24 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v2: - cleanups and bugfixes (thanks Peter Meerwald-Stadler) - drop

[PATCH v2 1/3] iio: adc: add support for mcp3911

2018-07-24 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v2: - cleanups and bugfixes (thanks Peter Meerwald-Stadler) - drop

[PATCH v2 3/3] MAINTAINERS: Add entry for mcp3911 ADC driver

2018-07-24 Thread Marcus Folkesson
Add an entry for mcp3911 ADC driver and add myself and Kent Gustavsson as maintainers of this driver. Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v2: - no changes MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b

[PATCH v2 3/3] MAINTAINERS: Add entry for mcp3911 ADC driver

2018-07-24 Thread Marcus Folkesson
Add an entry for mcp3911 ADC driver and add myself and Kent Gustavsson as maintainers of this driver. Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v2: - no changes MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b

[PATCH v2 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-07-24 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v2: - drop channel width - drop `external_vref` - replace

[PATCH v2 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-07-24 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v2: - drop channel width - drop `external_vref` - replace

Re: [PATCH] input: pxrc - do not store USB device in private struct

2018-07-24 Thread Marcus Folkesson
Hello Dmitry, On Tue, Jul 24, 2018 at 02:38:04AM +, Dmitry Torokhov wrote: > Hi Marcus, > > On Mon, Jul 16, 2018 at 04:40:14PM +0200, Marcus Folkesson wrote: > > The USB device is only needed during setup, so put it back after > > initialization and do not store it

Re: [PATCH] input: pxrc - do not store USB device in private struct

2018-07-24 Thread Marcus Folkesson
Hello Dmitry, On Tue, Jul 24, 2018 at 02:38:04AM +, Dmitry Torokhov wrote: > Hi Marcus, > > On Mon, Jul 16, 2018 at 04:40:14PM +0200, Marcus Folkesson wrote: > > The USB device is only needed during setup, so put it back after > > initialization and do not store it

Re: [PATCH 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-07-23 Thread Marcus Folkesson
Hi Jonathan, On Sun, Jul 22, 2018 at 09:11:11AM +0100, Jonathan Cameron wrote: > On Sat, 21 Jul 2018 21:59:22 +0200 > Marcus Folkesson wrote: > [snip] > > +Optional properties: > > + - device-addr: Device address when multiple MCP3911 chips are present on > > the

Re: [PATCH 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-07-23 Thread Marcus Folkesson
Hi Jonathan, On Sun, Jul 22, 2018 at 09:11:11AM +0100, Jonathan Cameron wrote: > On Sat, 21 Jul 2018 21:59:22 +0200 > Marcus Folkesson wrote: > [snip] > > +Optional properties: > > + - device-addr: Device address when multiple MCP3911 chips are present on > > the

Re: [PATCH 1/3] iio: adc: add support for mcp3911

2018-07-22 Thread Marcus Folkesson
that the SPI framework can handle multiple clients on the same CS. The reason why we created device-addr is that the chip supports that and may have hardcoded chip address from factory. The chip address is also part of the protocol so we have to specify it. > > > &

Re: [PATCH 1/3] iio: adc: add support for mcp3911

2018-07-22 Thread Marcus Folkesson
that the SPI framework can handle multiple clients on the same CS. The reason why we created device-addr is that the chip supports that and may have hardcoded chip address from factory. The chip address is also part of the protocol so we have to specify it. > > > &

Re: [PATCH 1/3] iio: adc: add support for mcp3911

2018-07-22 Thread Marcus Folkesson
> some comments below... > > > Signed-off-by: Marcus Folkesson > > Signed-off-by: Kent Gustavsson > > --- > > drivers/iio/adc/Kconfig | 10 ++ > > drivers/iio/adc/Makefile | 1 + > > drivers/iio/adc/mcp3911.c | 444 > > +

Re: [PATCH 1/3] iio: adc: add support for mcp3911

2018-07-22 Thread Marcus Folkesson
> some comments below... > > > Signed-off-by: Marcus Folkesson > > Signed-off-by: Kent Gustavsson > > --- > > drivers/iio/adc/Kconfig | 10 ++ > > drivers/iio/adc/Makefile | 1 + > > drivers/iio/adc/mcp3911.c | 444 > > +

[PATCH 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-07-21 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- .../devicetree/bindings/iio/adc/mcp3911.txt| 33 ++ 1 file changed

[PATCH 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-07-21 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- .../devicetree/bindings/iio/adc/mcp3911.txt| 33 ++ 1 file changed

[PATCH 3/3] MAINTAINERS: Add entry for mcp3911 ADC driver

2018-07-21 Thread Marcus Folkesson
Add an entry for mcp3911 ADC driver and add myself and Kent Gustavsson as maintainers of this driver. Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 79bb02ff812f

[PATCH 3/3] MAINTAINERS: Add entry for mcp3911 ADC driver

2018-07-21 Thread Marcus Folkesson
Add an entry for mcp3911 ADC driver and add myself and Kent Gustavsson as maintainers of this driver. Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 79bb02ff812f

[PATCH 1/3] iio: adc: add support for mcp3911

2018-07-21 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- drivers/iio/adc/Kconfig | 10 ++ drivers/iio/adc/Makefile | 1 + drivers/iio/adc/mcp3911

[PATCH 1/3] iio: adc: add support for mcp3911

2018-07-21 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- drivers/iio/adc/Kconfig | 10 ++ drivers/iio/adc/Makefile | 1 + drivers/iio/adc/mcp3911

[PATCH] input: pxrc - do not store USB device in private struct

2018-07-16 Thread Marcus Folkesson
a refcount on the device is safe. Reported-by: Alexey Khoroshilov Signed-off-by: Marcus Folkesson --- drivers/input/joystick/pxrc.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/input/joystick/pxrc.c b/drivers/input/joystick/pxrc.c index

[PATCH] input: pxrc - do not store USB device in private struct

2018-07-16 Thread Marcus Folkesson
a refcount on the device is safe. Reported-by: Alexey Khoroshilov Signed-off-by: Marcus Folkesson --- drivers/input/joystick/pxrc.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/input/joystick/pxrc.c b/drivers/input/joystick/pxrc.c index

Re: [PATCH] Input: pxrc - fix leak of usb_device

2018-07-15 Thread Marcus Folkesson
On Sat, Jul 14, 2018 at 08:51:09AM +, Dmitry Torokhov wrote: > On Sat, Jul 14, 2018 at 10:09:20AM +0200, Marcus Folkesson wrote: > > Hi Alexey, > > > > Good catch! > > > > On Fri, Jul 13, 2018 at 11:07:57PM +0300, Alexey Khoroshilov wrote: >

Re: [PATCH] Input: pxrc - fix leak of usb_device

2018-07-15 Thread Marcus Folkesson
On Sat, Jul 14, 2018 at 08:51:09AM +, Dmitry Torokhov wrote: > On Sat, Jul 14, 2018 at 10:09:20AM +0200, Marcus Folkesson wrote: > > Hi Alexey, > > > > Good catch! > > > > On Fri, Jul 13, 2018 at 11:07:57PM +0300, Alexey Khoroshilov wrote: >

Re: [PATCH] Input: pxrc - fix leak of usb_device

2018-07-14 Thread Marcus Folkesson
river Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Reviewed-by: Marcus Folkesson > --- > drivers/input/joystick/pxrc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/input/joystick/pxrc.c b/drivers/input/joystick/px

Re: [PATCH] Input: pxrc - fix leak of usb_device

2018-07-14 Thread Marcus Folkesson
river Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Reviewed-by: Marcus Folkesson > --- > drivers/input/joystick/pxrc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/input/joystick/pxrc.c b/drivers/input/joystick/px

[PATCH v4 2/3] Documentation: usb: add documentation for USB CCID Gadget Device

2018-06-26 Thread Marcus Folkesson
Add documentation to give a brief description on how to use the CCID Gadget Device. This includes a description for all attributes followed by an example on how to setup the device with ConfigFS. Reviewed-by: Randy Dunlap Signed-off-by: Marcus Folkesson --- Notes: v4: - clarify how

[PATCH v4 2/3] Documentation: usb: add documentation for USB CCID Gadget Device

2018-06-26 Thread Marcus Folkesson
Add documentation to give a brief description on how to use the CCID Gadget Device. This includes a description for all attributes followed by an example on how to setup the device with ConfigFS. Reviewed-by: Randy Dunlap Signed-off-by: Marcus Folkesson --- Notes: v4: - clarify how

  1   2   3   4   >