Re: [PATCH 2/4] input: tablet: pegasus_notetaker: Fix usb_autopm calls to be balanced

2016-07-21 Thread Martin Kepplinger
Am 2016-07-20 um 23:29 schrieb Dmitry Torokhov: > On Mon, Jul 18, 2016 at 04:29:07PM +0200, Martin Kepplinger wrote: >> Signed-off-by: Martin Kepplinger >> --- >> drivers/input/tablet/pegasus_notetaker.c | 19 +++ >> 1 file changed, 11 insertions(+)

Re: [PATCH 1/4] input: tablet: pegasus_notetaker: Track usb control msg errors

2016-07-21 Thread Martin Kepplinger
Am 2016-07-20 um 23:06 schrieb Dmitry Torokhov: > Hi Martin, > > On Mon, Jul 18, 2016 at 04:29:06PM +0200, Martin Kepplinger wrote: >> Signed-off-by: Martin Kepplinger >> --- >> drivers/input/tablet/pegasus_notetaker.c | 26 ++ >> 1

[PATCH] input: pegasus_notetaker - directly include workqueue header

2016-08-24 Thread Martin Kepplinger
According to the kernel's guidelines, let's directly include the workqueue functions we use. Signed-off-by: Martin Kepplinger --- I don't know if it's worth it, but I should have included this according to the guidelines :) drivers/input/tablet/pegasus_notetaker.c | 1

Re: [PATCH] iio: accel: mma8452: Bugfix to enbale and allow different events to work parallely.

2017-08-17 Thread Martin Kepplinger
- val |= BIT(idx_y + chip->ev_cfg_chan_shift); >>> - val |= BIT(idx_z + chip->ev_cfg_chan_shift); >>> + val |= BIT(idx_x + MMA8452_FF_MT_CHAN_SHIFT); >>> + val |= BIT(idx_y + MMA8452_FF_MT_CHAN_SHIFT); >>> + val |= BIT(idx_z + MMA8452_FF_MT_CHAN_SHIFT); >>> val &= ~MMA8452_FF_MT_CFG_OAE; >>> } else { >>> - val &= ~BIT(idx_x + chip->ev_cfg_chan_shift); >>> - val &= ~BIT(idx_y + chip->ev_cfg_chan_shift); >>> - val &= ~BIT(idx_z + chip->ev_cfg_chan_shift); >>> + val &= ~BIT(idx_x + MMA8452_FF_MT_CHAN_SHIFT); >>> + val &= ~BIT(idx_y + MMA8452_FF_MT_CHAN_SHIFT); >>> + val &= ~BIT(idx_z + MMA8452_FF_MT_CHAN_SHIFT); >>> val |= MMA8452_FF_MT_CFG_OAE; >>> } >>> >>> - return mma8452_change_config(data, chip->ev_cfg, val); >>> + return mma8452_change_config(data, MMA8452_FF_MT_CFG, val); >>> } >>> >>> static int mma8452_set_hp_filter_frequency(struct mma8452_data >*data, >>> @@ -740,6 +733,39 @@ static int mma8452_write_raw(struct iio_dev >*indio_dev, >>> return ret; >>> } >>> >>> +static int mma8452_get_event_regs(const struct iio_chan_spec *chan, >>> + enum iio_event_direction dir, >>> + struct mma8452_event_regs *ev_regs >>> + ) >>> +{ >>> + if (!chan) >>> + return -EINVAL; >>> + switch (chan->type) { >>> + case IIO_ACCEL: >>> + switch (dir) { >>> + case IIO_EV_DIR_FALLING: >>> + ev_regs->ev_cfg = MMA8452_FF_MT_CFG; >>> + ev_regs->ev_src = MMA8452_FF_MT_SRC; >>> + ev_regs->ev_ths = MMA8452_FF_MT_THS; >>> + ev_regs->ev_ths_mask = MMA8452_FF_MT_THS_MASK; >>> + ev_regs->ev_count = MMA8452_FF_MT_COUNT; >>> + break; >>> + case IIO_EV_DIR_RISING: >>> + ev_regs->ev_cfg = MMA8452_TRANSIENT_CFG; >>> + ev_regs->ev_src = MMA8452_TRANSIENT_SRC; >>> + ev_regs->ev_ths = MMA8452_TRANSIENT_THS; >> >> ev_ths_mask is not set here >> >>> + ev_regs->ev_count = MMA8452_TRANSIENT_COUNT; >>> + break; >>> + default: >>> + return -EINVAL; >>> + } >>> + break; >>> + default: >>> + return -EINVAL; >>> + } >>> + return 0; >> could replace 'breaks' with return 0 to save some lines and simplify >> control flow >> >>> +} >>> + >>> static int mma8452_read_thresh(struct iio_dev *indio_dev, >>>const struct iio_chan_spec *chan, >>>enum iio_event_type type, >>> @@ -749,21 +775,23 @@ static int mma8452_read_thresh(struct iio_dev >*indio_dev, >>> { >>> struct mma8452_data *data = iio_priv(indio_dev); >>> int ret, us, power_mode; >>> + struct mma8452_event_regs ev_regs; >>> >>> + ret = mma8452_get_event_regs(chan, dir, &ev_regs); >>> + if (ret) >>> + return ret; >>> switch (info) { >>> case IIO_EV_INFO_VALUE: >>> - ret = i2c_smbus_read_byte_data(data->client, >>> - data->chip_info->ev_ths); >>> + ret = i2c_smbus_read_byte_data(data->client, ev_regs.ev_ths); >>> if (ret < 0) >>> return ret; >>> >>> - *val = ret & data->chip_info->ev_ths_mask; >>> + *val = ret & ev_regs.ev_ths_mask; >>> >>> return IIO_VAL_INT; >>> >>> case IIO_EV_INFO_PERIOD: >>> - ret = i2c_smbus_read_byte_data(data->client, >>> - data->chip_info->ev_count); >>> + ret = i2c_smbus_read_byte_data(data->client, ev_regs.ev_count); >>> if (ret < 0) >>> return ret; >>> >>> @@ -809,14 +837,18 @@ static int mma8452_write_thresh(struct iio_dev >*indio_dev, >>> { >>> struct mma8452_data *data = iio_priv(indio_dev); >>> int ret, reg, steps; >>> + struct mma8452_event_regs ev_regs; >>> + >>> + ret = mma8452_get_event_regs(chan, dir, &ev_regs); >>> + if (ret) >>> + return ret; >>> >>> switch (info) { >>> case IIO_EV_INFO_VALUE: >>> - if (val < 0 || val > MMA8452_TRANSIENT_THS_MASK) >>> + if (val < 0 || val > ev_regs.ev_ths_mask) >>> return -EINVAL; >>> >>> - return mma8452_change_config(data, data->chip_info->ev_ths, >>> -val); >>> + return mma8452_change_config(data, ev_regs.ev_ths, val); >>> >>> case IIO_EV_INFO_PERIOD: >>> ret = mma8452_get_power_mode(data); >>> @@ -830,8 +862,7 @@ static int mma8452_write_thresh(struct iio_dev >*indio_dev, >>> if (steps < 0 || steps > 0xff) >>> return -EINVAL; >>> >>> - return mma8452_change_config(data, data->chip_info->ev_count, >>> -steps); >>> + return mma8452_change_config(data, ev_regs.ev_count, steps); >>> >>> case IIO_EV_INFO_HIGH_PASS_FILTER_3DB: >>> reg = i2c_smbus_read_byte_data(data->client, >>> @@ -861,23 +892,23 @@ static int mma8452_read_event_config(struct >iio_dev *indio_dev, >>> enum iio_event_direction dir) >>> { >>> struct mma8452_data *data = iio_priv(indio_dev); >>> - const struct mma_chip_info *chip = data->chip_info; >>> int ret; >>> >>> - switch (dir) { >>> - case IIO_EV_DIR_FALLING: >>> - return mma8452_freefall_mode_enabled(data); >>> - case IIO_EV_DIR_RISING: >>> - if (mma8452_freefall_mode_enabled(data)) >>> - return 0; >>> + switch (chan->type) { >>> + case IIO_ACCEL: >> this adds a check for chan-type == IIO_ACCESS, so strictly this would >be >> an unrelated change... >> >>> + switch (dir) { >>> + case IIO_EV_DIR_FALLING: >>> + return mma8452_freefall_mode_enabled(data); >>> + case IIO_EV_DIR_RISING: >>> + ret = i2c_smbus_read_byte_data(data->client, >MMA8452_TRANSIENT_CFG); >>> + if (ret < 0) >>> + return ret; >>> >>> - ret = i2c_smbus_read_byte_data(data->client, >>> - data->chip_info->ev_cfg); >>> - if (ret < 0) >>> - return ret; >>> + return !!(ret & >>> MMA8452_TRANSIENT_CFG_CHAN(chan->scan_index)); >>> >>> - return !!(ret & BIT(chan->scan_index + >>> - chip->ev_cfg_chan_shift)); >>> + default: >>> + return -EINVAL; >>> + } >>> default: >>> return -EINVAL; >>> } >>> @@ -890,39 +921,33 @@ static int mma8452_write_event_config(struct >iio_dev *indio_dev, >>> int state) >>> { >>> struct mma8452_data *data = iio_priv(indio_dev); >>> - const struct mma_chip_info *chip = data->chip_info; >>> int val, ret; >>> >>> ret = mma8452_set_runtime_pm_state(data->client, state); >>> if (ret) >>> retu -- Martin Kepplinger http://martinkepplinger.com sent from mobile

[PATCH] Input: ar1021_i2c - set INPUT_PROP_DIRECT

2017-11-02 Thread Martin Kepplinger
If INPUT_PROP_DIRECT is set, userspace doesn't have to fall back to old ways of identifying touchscreen devices. Let's add it. Signed-off-by: Martin Kepplinger --- drivers/input/touchscreen/ar1021_i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/ar

Re: [PATCH] iio: mma8452: add power_mode sysfs configuration

2017-11-12 Thread Martin Kepplinger
On 2017-11-11 01:33, Jonathan Cameron wrote: > On Mon, 6 Nov 2017 08:19:58 +0100 > Martin Kepplinger wrote: > >> This adds the power_mode sysfs interface to the device as documented in >> sysfs-bus-iio. >> >> --- >> >> Note that I explicitely don

Re: [PATCH] iio: accel: mma8452: Add single pulse/tap event detection

2017-11-13 Thread Martin Kepplinger
Am 14.11.2017 05:36 schrieb harinath Nampally: > This patch adds following related changes: > - defines pulse event related registers > - enables and handles single pulse interrupt for fxls8471 > - handles IIO_EV_DIR_EITHER in read/write callbacks (because > event direction for pulse is either

Re: [PATCH] iio: mma8452: add power_mode sysfs configuration

2017-11-13 Thread Martin Kepplinger
lease correct me if I am wrong. Thanks, Harinath You're right. I should've looked more closely. oversampling is there and seems to work. No need to blow up this driver or let alone extend an ABI now. Let's drop this patch. thanks martin On S

[PATCH] kernel: replace FSF address with web source in license notices

2017-11-14 Thread Martin Kepplinger
A few years ago the FSF moved and "59 Temple Place" is wrong. Having this still in our source files feels old and unmaintained. As https://www.gnu.org/licenses/gpl-howto.html suggests, we replace the postal address with "<http://www.gnu.org/licenses/>". Signed

[PATCH] crypto: replace FSF address with web source in license notices

2017-11-14 Thread Martin Kepplinger
ess with "<http://www.gnu.org/licenses/>". Signed-off-by: Martin Kepplinger --- crypto/ablk_helper.c | 4 +--- crypto/camellia_generic.c | 3 +-- crypto/cast5_generic.c| 3 +-- crypto/cast6_generic.c| 3 +-- crypto/simd.c | 4 +--- crypto/twofish_common.c | 5

[PATCH] init: replace FSF address with web source in license notices

2017-11-14 Thread Martin Kepplinger
ess with "<http://www.gnu.org/licenses/>". Signed-off-by: Martin Kepplinger --- init/noinitramfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init/noinitramfs.c b/init/noinitramfs.c index 267739d85179..3ee9e3dbfbc4 100644 --- a/init/noinitramfs.c +++ b/in

[PATCH] lib: replace FSF address with web source in license notices

2017-11-14 Thread Martin Kepplinger
ess with "<http://www.gnu.org/licenses/>" in the lib directory. Signed-off-by: Martin Kepplinger --- This is an attempt to sneak this in for the lib subdirectory in one go. If you would rather have the changes individually go to the relevant people, please just say so. thanks

[PATCH] mm: replace FSF address with web source in license notices

2017-11-14 Thread Martin Kepplinger
ess with "<http://www.gnu.org/licenses/>" in the mm directory. Signed-off-by: Martin Kepplinger --- mm/kmemleak-test.c | 3 +-- mm/kmemleak.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mm/kmemleak-test.c b/mm/kmemleak-test.c index dd3c23a801b1..9a13ad

[PATCH] samples: replace FSF address with web source in license notices

2017-11-14 Thread Martin Kepplinger
ess with "<http://www.gnu.org/licenses/>" in the samples directory. Signed-off-by: Martin Kepplinger --- samples/auxdisplay/cfag12864b-example.c | 3 +-- samples/configfs/configfs_sample.c | 6 ++ samples/connector/cn_test.c | 3 +-- samples/connector/ucon.c

Re: [PATCH] mm: replace FSF address with web source in license notices

2017-11-14 Thread Martin Kepplinger
Am 14.11.2017 10:49 schrieb Michal Hocko: On Tue 14-11-17 10:44:38, Martin Kepplinger wrote: A few years ago the FSF moved and "59 Temple Place" is wrong. Having this still in our source files feels old and unmaintained. Let's take the license statement serious and not con

[PATCH] scripts: replace FSF address with web source in license notices

2017-11-14 Thread Martin Kepplinger
ess with "<http://www.gnu.org/licenses/>" in the scripts directory. Signed-off-by: Martin Kepplinger --- scripts/dtc/checks.c| 4 +--- scripts/dtc/data.c | 4 +--- scripts/dtc/dtc-lexer.l | 4 +--- scripts/dtc/dtc-lexer.lex.c_shipped | 4

[PATCH] security: replace FSF address with web source in license notices

2017-11-14 Thread Martin Kepplinger
ess with "<http://www.gnu.org/licenses/>" in the security directory. Signed-off-by: Martin Kepplinger --- security/selinux/include/netlabel.h | 3 +-- security/selinux/netlabel.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/security/selinux/include

Re: [PATCH] mm: replace FSF address with web source in license notices

2017-11-14 Thread Martin Kepplinger
Am 14.11.2017 11:02 schrieb Michal Hocko: On Tue 14-11-17 10:55:35, Martin Kepplinger wrote: Am 14.11.2017 10:49 schrieb Michal Hocko: > On Tue 14-11-17 10:44:38, Martin Kepplinger wrote: > > A few years ago the FSF moved and "59 Temple Place" is wrong. Having > > thi

Re: [PATCH v4 2/2] iio: accel: mma8452: Rename config structs for readability

2017-11-05 Thread Martin Kepplinger
y Makes sense to me. Acked-by: Martin Kepplinger Hey Harinath, I think it'd be great to have the "power_mode" iio ABI interface for mma8452 too, and I just found an old patch pf mine for this. If you say you could test it and check for correct API usage and ABI provisioning in

Re: [PATCH v4 1/2] iio: accel: mma8452: Rename a struct for code readibility

2017-11-05 Thread Martin Kepplinger
On 2017-11-05 19:00, Harinath Nampally wrote: > Rename time step look up struct to generic name > as the values in the look table are same for all > the other events like pulse, transient etc. > > Signed-off-by: Harinath Nampally Acked-by: Martin Kepplinger

[PATCH] iio: mma8452: add power_mode sysfs configuration

2017-11-05 Thread Martin Kepplinger
This adds the power_mode sysfs interface to the device as documented in sysfs-bus-iio. --- Note that I explicitely don't sign off on this. This is a starting point for anybody who can test it and check for correct API usage, and ABI correctness, as documented in Documentation/ABI/testing/sys-bu

Re: [PATCH] platform: acer-wmi: update notice about deprecated user interface

2015-10-05 Thread Martin Kepplinger
Am 2015-10-05 um 12:30 schrieb joeyli: > Hi Darren, > > On Sat, Oct 03, 2015 at 10:20:52AM -0700, Darren Hart wrote: >> On Tue, Sep 29, 2015 at 05:50:32PM +0800, joeyli wrote: >>> Hi Martin, >>> >>> On Tue, Sep 29, 2015 at 08:46:38AM +0200, Martin Ke

[PATCH 4/6] iio: mma8452: add support for MMA8652FC and MMA8653FC

2015-09-01 Thread Martin Kepplinger
;s website: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8652FC.pdf http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8653FC.pdf Signed-off-by: Martin Kepplinger Signed-off-by: Christoph Muellner --- .../devicetree/bindings/iio/accel/mma8452.txt | 4 +- drivers/iio/acc

[PATCHv6 0/6] iio: mma8452: improve driver and support more chips

2015-09-01 Thread Martin Kepplinger
Version 6 of the mma8452 driver improvements. This is rebased on the current -next tree because of cleanup changes in the meantime. Also, the patches are slightly more cleaned up (adding the DT bindings document in the right patch). Here we go: These changes add support for motion interrupts and

[PATCH 2/6] iio: mma8452: add support for MMA8453Q accelerometer chip

2015-09-01 Thread Martin Kepplinger
emoves the driver from the trivial-devices list. Signed-off-by: Martin Kepplinger Signed-off-by: Christoph Muellner --- .../devicetree/bindings/i2c/trivial-devices.txt| 1 - .../devicetree/bindings/iio/accel/mma8452.txt | 22 + drivers/iio/accel/Kconfig

[PATCH 1/6] iio: mma8452: refactor for seperating chip specific data

2015-09-01 Thread Martin Kepplinger
This adds a struct mma_chip_info to hold data that will remain specific to the chip in use. It is provided during probe() and linked in struct of_device_id. Also this suggests that the driver is called "mma8452" and now handles the MMA8452Q device, but is not limited to it. Signed-off-

[PATCH 5/6] iio: mma8452: add copyright notice comment

2015-09-01 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger Signed-off-by: Christoph Muellner --- drivers/iio/accel/mma8452.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c index 59b4455..15d50c9 100644 --- a/drivers/iio/accel/mma8452.c +++ b/drivers/iio

[PATCH 6/6] iio: mma8452: leave sysfs namings to the iio core

2015-09-01 Thread Martin Kepplinger
This doesn't actually change anything since the core names the sysfs folder for the iio event attributes "events" anyways. It only leaves the job to the core. Signed-off-by: Martin Kepplinger Signed-off-by: Christoph Muellner --- drivers/iio/accel/mma8452.c | 1 - 1 file chan

[PATCH 3/6] iio: mma8452: add freefall / motion interrupt source

2015-09-01 Thread Martin Kepplinger
This adds the freefall / motion interrupt source definitions to the driver. It is used in this series' next patch, for chips that don't support the transient interrupt source. Signed-off-by: Martin Kepplinger Signed-off-by: Christoph Muellner --- drivers/iio/accel/mma8

[PATCH] iio: mma8452: support either of the available interrupt pins

2015-10-13 Thread Martin Kepplinger
dts. If possibly in the future more interrupt sources might be available, additional DT properties will be added. Of course, this also falls back to assuming INT1, so for existing users nothing will break. The new functionality is described in the bindings doc. Signed-off-by: Martin Kepplinger

[PATCH v2] iio: mma8452: support either of the available interrupt pins

2015-10-14 Thread Martin Kepplinger
s doc. Signed-off-by: Martin Kepplinger --- changelog: v2: don't warn but normally handle if both pins are described in dts thanks Mark Rutland v1: initial post .../devicetree/bindings/iio/accel/mma8452.txt | 7 +++ drivers/iio/accel/mma8452.c

[PATCH v3] iio: mma8452: support either of the available interrupt pins

2015-10-14 Thread Martin Kepplinger
s doc. Signed-off-by: Martin Kepplinger --- changelog: v3: correctly assign irq if both pins are described in DT. thanks again v2: don't warn but normally handle if both pins are described in dts thanks Mark Rutland v1: initial post .../devicetree/bindings/iio/accel/mma8452.txt

Re: [PATCH v3] iio: mma8452: support either of the available interrupt pins

2015-10-15 Thread Martin Kepplinger
Am 2015-10-14 um 17:12 schrieb Lars-Peter Clausen: > On 10/14/2015 03:15 PM, Martin Kepplinger wrote: > [...] >> +if (irq1 > 0) >> +client->irq = irq1; > > You must not overwrite client->irq, that field is manged by

[PATCH v4] iio: mma8452: support either of the available interrupt pins

2015-10-15 Thread Martin Kepplinger
ting users nothing will break. The new functionality is described in the bindings doc. Signed-off-by: Martin Kepplinger --- changelog: v4: use irq that matches client->irq, backwards compatible v3: correctly assign irq if both pins are described in DT v2: don't warn but normally handle if

[PATCH 1/2] bitops.h: Improve sign_extend32()'s documentation

2015-10-15 Thread Martin Kepplinger
It is often overlooked that sign_extend32(), despite it's name, is safe to use for 16 and 8 bit types aswell. This should help that sign extension isn't done manually some other way. Signed-off-by: Martin Kepplinger --- include/linux/bitops.h | 2 ++ 1 file changed, 2 insertions(+)

[PATCH 2/2] bitops.h: add sign_extend64()

2015-10-15 Thread Martin Kepplinger
Months back, this was discussed, see https://lkml.org/lkml/2015/1/18/289 The result was the 64-bit version being "likely fine", "valuable" and "correct". The discussion only fell asleep but since there are possible users, let's add it. Signed-off-by: Martin Kepp

bitops.h: improve sign extending API

2015-10-15 Thread Martin Kepplinger
PATCH 1/2 improves the doc of sign_extend32() This should help to avoid different manual approaches to sign extension PATCH 2/2 adds sign_extend64() An informal example of what could follow in arch/sh/kernel/traps_64.c after PATCH 2/2: @@ -101,7 +102,7 @@ static int generate_and_check_address(

[PATCH v2 0/5] improve sign extension API

2015-10-16 Thread Martin Kepplinger
PATCH 1 improves the doc of sign_extend32() It should help to avoid different manual approaches to sign extension PATCH 2 adds sign_extend64() PTACH 3-5 are (untested) example users of sign_extend64() changelog - v2: fix a typo and add examples for sign_extend64() -- To unsubscribe from

[PATCH 5/5] arch: x86: use sign_extend64() for sign extension

2015-10-16 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- arch/x86/kernel/cpu/perf_event_msr.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/cpu/perf_event_msr.c b/arch/x86/kernel/cpu/perf_event_msr.c index f32ac13..ec863b9 100644 --- a/arch/x86/kernel/cpu

[PATCH 1/5] bitops.h: Improve sign_extend32()'s documentation

2015-10-16 Thread Martin Kepplinger
It is often overlooked that sign_extend32(), despite it's name, is safe to use for 16 and 8 bit types aswell. This should help that sign extension isn't done manually some other way. Signed-off-by: Martin Kepplinger --- include/linux/bitops.h | 2 ++ 1 file changed, 2 insertions(+)

[PATCH 4/5] arch: sh: use sign_extend64() for sign extension

2015-10-16 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- arch/sh/kernel/cpu/sh5/unwind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/kernel/cpu/sh5/unwind.c b/arch/sh/kernel/cpu/sh5/unwind.c index 10aed41..3a4fed4 100644 --- a/arch/sh/kernel/cpu/sh5/unwind.c +++ b/arch/sh/kernel/cpu

[PATCH 3/5] arch: sh: use sign_extend64() for sign extension

2015-10-16 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- arch/sh/kernel/traps_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/kernel/traps_64.c b/arch/sh/kernel/traps_64.c index 112ea11..d208c27 100644 --- a/arch/sh/kernel/traps_64.c +++ b/arch/sh/kernel/traps_64.c @@ -101,7 +101,7

[PATCH 2/5] bitops.h: add sign_extend64()

2015-10-16 Thread Martin Kepplinger
Months back, this was discussed, see https://lkml.org/lkml/2015/1/18/289 The result was the 64-bit version being "likely fine", "valuable" and "correct". The discussion only fell asleep but since there are possible users, let's add it. Signed-off-by: Martin Kepp

Re: [PATCH v4] iio: mma8452: support either of the available interrupt pins

2015-10-22 Thread Martin Kepplinger
Am 2015-10-20 um 13:03 schrieb Martin Kepplinger: > Am 2015-10-15 um 15:10 schrieb Martin Kepplinger: >> This change is important in order for everyone to be easily able to use the >> driver for one of the supported accelerometer chips! >> >> Until now, the driver bl

Re: [PATCH v4] iio: mma8452: support either of the available interrupt pins

2015-10-20 Thread Martin Kepplinger
Am 2015-10-15 um 15:10 schrieb Martin Kepplinger: > This change is important in order for everyone to be easily able to use the > driver for one of the supported accelerometer chips! > > Until now, the driver blindly assumed that the INT1 interrupt line is wired > on a user

Re: [PATCH v4] iio: mma8452: support either of the available interrupt pins

2015-10-25 Thread Martin Kepplinger
Am 25. Oktober 2015 12:05:05 MEZ, schrieb Jonathan Cameron : >On 22/10/15 19:22, Rob Herring wrote: >> On Thu, Oct 15, 2015 at 8:10 AM, Martin Kepplinger > wrote: >>> This change is important in order for everyone to be easily able to >use the >>> driver for o

Re: [PATCH 11/11] touchscreen: tsc200x: Use octal permissions

2018-07-22 Thread Martin Kepplinger
On 2018-07-21 21:09, dev-harsh1998 wrote: > WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using > octal permissions '0444'. > +static DEVICE_ATTR(selftest, S_IRUGO, tsc200x_selftest_show, NULL); > > Signed-off-by: dev-harsh1998 Acked-by: Martin Kepplinger

Re: [PATCH] input: edt-ft5x06: increase allowed data range for threshold parameter

2017-05-11 Thread Martin Kepplinger
On 2017-05-08 18:11, Rob Herring wrote: > On Tue, May 02, 2017 at 05:00:59PM +0200, Martin Kepplinger wrote: >> The datasheet and application note does not mention an allowed range for >> the M09_REGISTER_THRESHOLD parameter. One of our customers needs to set >> lower values

Re: [PATCH 1/2] Input: sur40: Delete an error message for a failed memory allocation in sur40_probe()

2018-01-21 Thread Martin Kepplinger
arkus Elfring Acked-by: Martin Kepplinger > --- > drivers/input/touchscreen/sur40.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/input/touchscreen/sur40.c > b/drivers/input/touchscreen/sur40.c > index f16f8358c70a..c7a0a92b2044 100644 > --- a/drivers

Re: [PATCH] Input: edt-ft5x06: Delete an error message for a failed memory allocation in edt_ft5x06_ts_probe()

2018-01-21 Thread Martin Kepplinger
arkus Elfring Acked-by: Martin Kepplinger > --- > drivers/input/touchscreen/edt-ft5x06.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/input/touchscreen/edt-ft5x06.c > b/drivers/input/touchscreen/edt-ft5x06.c > index c53a3d7239

Re: [PATCH 2/2] Input: sur40: Improve a size determination in sur40_probe()

2018-01-21 Thread Martin Kepplinger
t; determination a bit safer according to the Linux coding style convention. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Acked-by: Martin Kepplinger > --- > drivers/input/touchscreen/sur40.c | 2 +- > 1 file changed, 1 insertion(

[PATCH] Documentation/process: update FUSE project website

2018-03-27 Thread Martin Kepplinger
According to the old project site, https://sourceforge.net/projects/fuse/ the project has moved to https://github.com/libfuse/ so we update the link to point to the latest libfuse release. Signed-off-by: Martin Kepplinger --- Documentation/process/changes.rst | 2 +- 1 file changed, 1 insertion

[PATCH] Documentation: admin-guide: add kvmconfig, xenconfig and tinyconfig commands

2018-03-22 Thread Martin Kepplinger
Add kvmconfig, xenconfig and tinyconfig to the list of alternative configuration commands. Descriptions are directly taken from the Makefile. Signed-off-by: Martin Kepplinger --- Documentation/admin-guide/README.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/admin

[PATCH] Documentation: magic-numbers: Fix typo

2018-03-23 Thread Martin Kepplinger
This fixes a little then / them confusion. Signed-off-by: Martin Kepplinger --- Documentation/process/magic-number.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/process/magic-number.rst b/Documentation/process/magic-number.rst index c74199f60c6c

[PATCH] ubi: fastmap: Check each mapping only once

2018-11-26 Thread Martin Kepplinger
rupted erasures in EBA") Signed-off-by: Richard Weinberger Signed-off-by: Martin Kepplinger --- Richard, although this fixes a major slowdown regression in -stable, do you consider this "stable" too? This applies and is tested only for the 4.14 stable tree. It seems to be eq

Re: [PATCH] Input: restore EV_ABS ABS_RESERVED

2018-12-06 Thread Martin Kepplinger
On 06.12.18 00:03, Peter Hutterer wrote: ABS_RESERVED was added in d9ca1c990a7 and accidentally removed as part of ffe0e7cf290f5c9 when the high-resolution scrolling code was removed. Signed-off-by: Peter Hutterer Reviewed-by: Martin Kepplinger smime.p7s Description: S/MIME cryptographic

Re: [PATCH] ubi: fastmap: Check each mapping only once

2018-12-03 Thread Martin Kepplinger
On 02.12.18 16:02, Richard Weinberger wrote: Sasha, Am Sonntag, 2. Dezember 2018, 15:35:43 CET schrieb Sasha Levin: On Sun, Dec 02, 2018 at 11:50:33AM +, Sudip Mukherjee wrote: Now queued up for 4.14.y, thanks. can you *please* slow a little down? True. It will really help if you can h

Re: [PATCH] iio: mma8452: Fix ignoring MMA8452_INT_DRDY

2018-06-20 Thread Martin Kepplinger
ix by not returning IRQ_NONE if DRDY is set. > > Fixes: 605f72de137a ("iio: accel: mma8452: improvements to handle > multiple events") > > Signed-off-by: Leonard Crestez At least this does no harm to events. So if this solves your problem: Acked-by: Martin Kep

[PATCH] iio: accel: mma9551_core: prevent using uninitialized variable

2018-12-10 Thread Martin Kepplinger
should be fine now, this initializes pol_mask just to prevent failure. Signed-off-by: Martin Kepplinger --- drivers/iio/accel/mma9551_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iio/accel/mma9551_core.c b/drivers/iio/accel/mma9551_core.c index c3

Re: [PATCH V2 2/2] iio: accell: mma8452: add optional vdd/vddio regulator operation support

2018-12-10 Thread Martin Kepplinger
fore any communication with mma8451, > this patch adds optional vdd/vddio regulator operation support. > > Signed-off-by: Anson Huang Acked-by: Martin Kepplinger

Re: [PATCH V6 2/2] iio: accell: mma8452: add vdd/vddio regulator operation support

2019-01-07 Thread Martin Kepplinger
ed by a GPIO fixed regulator, need to make sure the >> regulators are enabled before any communication with mma8451, this >> patch adds vdd/vddio regulator operation support. >> >> Signed-off-by: Anson Huang >> Acked-by: Martin Kepplinger > > I'm fine with t

Re: [PATCH V7 2/2] iio: accell: mma8452: add vdd/vddio regulator operation support

2019-01-08 Thread Martin Kepplinger
any communication with mma8451, this > patch adds vdd/vddio regulator operation support. > > Signed-off-by: Anson Huang > Acked-by: Martin Kepplinger > --- > ChangeLog Since V6: > - separate the error handling of regulators get to make code easy to read.

[PATCH] can: ucan: fix some typos in comments

2018-10-12 Thread Martin Kepplinger
This fixes some double-word and trivial typos in the ucan driver comments. Signed-off-by: Martin Kepplinger --- hi guys, The Seal looks very nice. Since I'm doing CAN work right now, I could totally use one of these instead of old gear from PEAK. I hope you're doing fine. Be

[PATCH] input: st1232: set INPUT_PROP_DIRECT property

2018-10-05 Thread Martin Kepplinger
This is how userspace checks for touchscreen devices most reliably. Signed-off-by: Martin Kepplinger --- drivers/input/touchscreen/st1232.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/st1232.c b/drivers/input/touchscreen/st1232.c index d5dfa4053bbf

Re: [PATCH] Input: uinput - allow for max == min during input_absinfo validation

2018-09-18 Thread Martin Kepplinger
On 9/18/18 7:22 AM, Peter Hutterer wrote: These values are inclusive, so a range of 1 requires min == max. Signed-off-by: Peter Hutterer true, nice catch. Reviewed-by: Martin Kepplinger smime.p7s Description: S/MIME cryptographic signature

Re: [PATCH] dts: imx8mq-librem5: Don't wake up on volume key press

2024-06-10 Thread Martin Kepplinger
the > device. > > Signed-off-by: Guido Günther Reviewed-by: Martin Kepplinger thank you, martin > --- >  arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 -- >  1 file changed, 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx

[PATCH] input: (gtco) use sign_extend32() for sign extension

2015-01-23 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- Despite it's name, sign_extend32() is safe to use for 8 and 16 bit types too. drivers/input/tablet/gtco.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c index 85

[PATCH] rtc: (x1205) use sign_extend32() for sign extension

2015-01-24 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- Despite it's name, sign_extend32() is safe to use for 8 bit types too. (see https://lkml.org/lkml/2015/1/18/289 if interested) drivers/rtc/rtc-x1205.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-x1205.c b/dr

[PATCH] media: (stb0899) use sign_extend32() for sign extension

2015-01-25 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- drivers/media/dvb-frontends/stb0899_algo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb-frontends/stb0899_algo.c b/drivers/media/dvb-frontends/stb0899_algo.c index 93596e0..7bbcfde 100644 --- a/drivers/media/dvb

[PATCH v2] media: (stb0899) use sign_extend32() for sign extension

2015-01-25 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- Sorry. I should have at least built my change. This is the correct version. drivers/media/dvb-frontends/stb0899_algo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb-frontends/stb0899_algo.c b/drivers/media/dvb

[RFC PATCH 0/4] Example changes using proposed sign_extend functions

2015-01-14 Thread Martin Kepplinger
These are 4 of probably many examples of what could be changed if the proposed sign_extend8, 16 and 64 are added to bitops.h, now as real patches. Again, keep in mind, only take them if "PATCH v2 add sign_exted8, 16 and 64" is included first. -- To unsubscribe from this list: send the line "unsub

[PATCH 2/4] rtc: use sign_extend8 instead of manual conversion

2015-01-14 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- drivers/rtc/rtc-x1205.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-x1205.c b/drivers/rtc/rtc-x1205.c index b1de58e..3ec0b95 100644 --- a/drivers/rtc/rtc-x1205.c +++ b/drivers/rtc/rtc-x1205.c @@ -22,6 +22,7

[PATCH 1/4] input: gtco: use bitops' sign_extend8

2015-01-14 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- drivers/input/tablet/gtco.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c index 8580456..25b3834 100644 --- a/drivers/input/tablet/gtco.c +++ b/drivers/input/tablet

[PATCH 4/4] hwmon: jc42: use bitops' sign_extend16

2015-01-14 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger Reviewed-by: Guenter Roeck --- drivers/hwmon/jc42.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/hwmon/jc42.c b/drivers/hwmon/jc42.c index 388f8bc..d0582a3 100644 --- a/drivers/hwmon/jc42.c +++ b/drivers/hwmon/jc42.c

[PATCH 3/4] media: stb0899: use sign_extend8 instead of manual work

2015-01-14 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- drivers/media/dvb-frontends/stb0899_algo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb-frontends/stb0899_algo.c b/drivers/media/dvb-frontends/stb0899_algo.c index 93596e0..7bbcfde 100644 --- a/drivers/media/dvb

Re: [PATCH 3/6] hwmon: jc42: use bitops' sign_extend16

2015-01-11 Thread Martin Kepplinger
Am 2014-12-16 um 08:17 schrieb Martin Kepplinger: > Am 2014-12-15 um 22:29 schrieb Guenter Roeck: >> On Mon, Dec 15, 2014 at 05:18:34PM +0100, Martin Kepplinger wrote: >>> --- >> >> Some description would be nice. Also, please consider adding >> relevant subsys

[PATCH v2] bitops.h: add sign_extend8(), 16 and 64 functions

2015-01-12 Thread Martin Kepplinger
This adds helper functions for sign-extending signed values of any lower (hardware-)given size to s8, s16 or s64 respectively, just like sign_extend32() for s32. Signed-off-by: Martin Kepplinger Suggested-by: Christoph Muellner --- include/linux/bitops.h | 33

[RFC] hwmon: jc42: use bitops' sign_extend16

2015-01-12 Thread Martin Kepplinger
Example change, using new sign_extend functions. --- drivers/hwmon/jc42.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/hwmon/jc42.c b/drivers/hwmon/jc42.c index 388f8bc..d0582a3 100644 --- a/drivers/hwmon/jc42.c +++ b/drivers/hwmon/jc42.c @@ -31,6 +31,7 @@ #i

[RFC] rtc: use sign_extend8 instead of manual conversion

2015-01-12 Thread Martin Kepplinger
Example change, using new sign_extend functions. --- drivers/rtc/rtc-x1205.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-x1205.c b/drivers/rtc/rtc-x1205.c index b1de58e..3ec0b95 100644 --- a/drivers/rtc/rtc-x1205.c +++ b/drivers/rtc/rtc-x1205.c @@ -22,6

[RFC] input: gtco: use bitops' sign_extend8

2015-01-12 Thread Martin Kepplinger
Example change, using new sign_extend functions. --- drivers/input/tablet/gtco.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c index 8580456..25b3834 100644 --- a/drivers/input/tablet/gtco.c +++ b/drivers/i

[RFC] media: stb0899: use sign_extend8 instead of manual work

2015-01-12 Thread Martin Kepplinger
Example change, using new sign_extend functions. --- drivers/media/dvb-frontends/stb0899_algo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb-frontends/stb0899_algo.c b/drivers/media/dvb-frontends/stb0899_algo.c index 93596e0..7bbcfde 100644 --- a/driv

Re: [PATCH 3/6] hwmon: jc42: use bitops' sign_extend16

2015-01-12 Thread Martin Kepplinger
Am 2015-01-11 um 17:52 schrieb Guenter Roeck: > On 01/11/2015 02:34 AM, Martin Kepplinger wrote: >> Am 2014-12-16 um 08:17 schrieb Martin Kepplinger: >>> Am 2014-12-15 um 22:29 schrieb Guenter Roeck: >>>> On Mon, Dec 15, 2014 at 05:18:34PM +0100, Martin Kepplinger w

[PATCH v4] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-20 Thread Martin Kepplinger
From: Martin Kepplinger The MMA8653FC is a low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution with flexible user-programmable options. Embedded interrupt functions enable overall power savings, by relieving the host processor from continuously polling data

Re: [PATCH v3] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-20 Thread Martin Kepplinger
Am 2015-03-19 um 17:03 schrieb Mark Rutland: >> diff --git a/Documentation/devicetree/bindings/misc/fsl,mma8653fc.txt >> b/Documentation/devicetree/bindings/misc/fsl,mma8653fc.txt >> new file mode 100644 >> index 000..3921acb >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/misc/fsl

Re: [PATCH v2] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-20 Thread Martin Kepplinger
Am 2015-03-19 um 11:22 schrieb Bastien Nocera: > On Wed, 2015-03-18 at 19:28 +0100, Martin Kepplinger wrote: >> Am 2015-03-18 um 19:05 schrieb Bastien Nocera: >>> On Wed, 2015-03-18 at 19:02 +0100, Martin Kepplinger wrote: >>>> Am 2015-03-18 um 17:59 schrieb Bastien

Re: [PATCH v4] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-20 Thread Martin Kepplinger
Am 2015-03-20 um 12:31 schrieb Varka Bhadram: > On 03/20/2015 04:50 PM, Martin Kepplinger wrote: >> From: Martin Kepplinger >> ( ...) >> +return 0; >> + >> + err_free_irq: >> +if (mma->irq) >> +free_irq(mma->irq, mma); >>

Re: [PATCH v2] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-20 Thread Martin Kepplinger
Am 2015-03-20 um 13:27 schrieb Benjamin Tissoires: > On Fri, Mar 20, 2015 at 7:26 AM, Martin Kepplinger > wrote: >> Am 2015-03-19 um 11:22 schrieb Bastien Nocera: >>> On Wed, 2015-03-18 at 19:28 +0100, Martin Kepplinger wrote: >>>> Am 2015-03-18 um 19:05 schrieb B

[PATCH v5] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-20 Thread Martin Kepplinger
From: Martin Kepplinger The MMA8653FC is a low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution with flexible user-programmable options. Embedded interrupt functions enable overall power savings, by relieving the host processor from continuously polling data

[PATCH v5] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-20 Thread Martin Kepplinger
From: Martin Kepplinger The MMA8653FC is a low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution with flexible user-programmable options. Embedded interrupt functions enable overall power savings, by relieving the host processor from continuously polling data

[PATCH v5] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-21 Thread Martin Kepplinger
From: Martin Kepplinger The MMA8653FC is a low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution with flexible user-programmable options. Embedded interrupt functions enable overall power savings, by relieving the host processor from continuously polling data

[PATCH v5] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-21 Thread Martin Kepplinger
From: Martin Kepplinger The MMA8653FC is a low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution with flexible user-programmable options. Embedded interrupt functions enable overall power savings, by relieving the host processor from continuously polling data

Re: [PATCH v2] btrfs: explicitly set control file's private_data

2015-03-31 Thread Martin Kepplinger
Am 31.03.2015 14:31 schrieb Tom Van Braeckel: Err, upon further inspection, I think that this was a false positive. Btrfs relies on the initial value of the private_data member of a file being NULL in the regular ioctl operation handler for BTRFS_IOC_TRANS_START but it does not use the miscdevic

[PATCH] iio: doc: fix typo

2015-04-30 Thread Martin Kepplinger
Since we have deviceX, we don't need accelX. This has no users as of now, so correcting this is no problem. Signed-off-by: Martin Kepplinger --- That's really just a question now. If I'm wrong, sorry for the noise. Documentation/ABI/testing/sysfs-bus-iio | 2 +- 1 file chang

Re: iio: what does in_accel_x_thresh_rising_en ?

2015-06-11 Thread Martin Kepplinger
Am 2015-06-10 um 22:49 schrieb Jonathan Cameron: > On 09/06/15 17:03, Martin Kepplinger wrote: >> hi >> >> Is the in_accel_thresh_rising_value (or falling) threshold value signed >> or unsigned? >> >> In other words: Is a RISING event fired on an absolute

[PATCH] acer-wmi: update removal notice for sysfs interface

2015-06-16 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- These just look odd when out of date. The proper fix would probably be to create a Documentation/ABI/testing/sysfs-platform-acer-wmi file and remove the deprecated ones. drivers/platform/x86/acer-wmi.c | 6 +++--- 1 file changed, 3 insertions(+), 3

iio: what does in_accel_x_thresh_rising_en ?

2015-06-09 Thread Martin Kepplinger
hi Is the in_accel_thresh_rising_value (or falling) threshold value signed or unsigned? In other words: Is a RISING event fired on an absolute growing value in the positive range, and a FALLING event on an absolute growing value in the negative acceleration range (< 0g)? Or is a RISING event fir

Re: [PATCH 2/2] Input: st1232 - switch to gpiod API

2019-02-05 Thread Martin Kepplinger
 Martin Kepplinger | Entwicklung Software  GINZINGER ELECTRONIC SYSTEMS GMBH Tel.: +43 7723 5422 157 Mail: martin.kepplin...@ginzinger.com Web: www.ginzinger.com On 29.01.19 11:23, Martin Kepplinger wrote: From: Martin Kepplinger Use devm_gpiod_get_optional() and

Re: [PATCH] mtd: rawnand: gpmi: fix MX28 bus master lockup problem

2019-02-05 Thread Martin Kepplinger
On 05.02.19 16:22, Fabio Estevam wrote: On Tue, Feb 5, 2019 at 11:00 AM Miquel Raynal wrote: Hi Martin, Martin Kepplinger wrote on Tue, 29 Jan 2019 16:37:00 +0100: From: Martin Kepplinger Disable BCH soft reset according to MX23 erratum #2847 ("BCH soft reset may cause bus master

[PATCH v2] mtd: rawnand: gpmi: fix MX28 bus master lockup problem

2019-02-05 Thread Martin Kepplinger
iences this may cause." Fixes: 6f2a6a52560a ("mtd: nand: gpmi: reset BCH earlier, too, to avoid NAND startup problems") Cc: sta...@vger.kernel.org Signed-off-by: Manfred Schlaegl Signed-off-by: Martin Kepplinger Reviewed-by: Miquel Raynal Reviewed-by: Fabio Estevam --- revisi

[PATCH] fbdev: mxsfb: implement FB_PRE_INIT_FB option

2019-02-06 Thread Martin Kepplinger
: Martin Kepplinger Signed-off-by: Manfred Schlaegl --- drivers/video/fbdev/Kconfig | 2 +- drivers/video/fbdev/mxsfb.c | 12 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 58a9590c9db6..0e7ab29c9c70

  1   2   3   4   5   6   7   8   >