Re: [PATCH] i2c: Allow recovery of the initial IRQ by an I2C client device.

2019-02-22 Thread Jim Broadus
On Fri, Feb 22, 2019 at 3:32 AM Wolfram Sang wrote: > > > > > > But I still have the feeling that the problem is not solved at the > > > > right place. In i2c_new_device() we are storing parts of the fields of > > > > struct i2c_board_info, and when resetting the irq we are losing > > > >

Re: [PATCH] i2c: Allow recovery of the initial IRQ by an I2C client device.

2019-02-19 Thread Jim Broadus
Apologies.. This should have been marked v2. On Tue, Feb 19, 2019 at 11:30 AM Jim Broadus wrote: > > A previous change allowed I2C client devices to discover new IRQs upon > reprobe by clearing the IRQ in i2c_device_remove. However, if an IRQ was > assigned in i2c_new_device, that

[PATCH] i2c: Allow recovery of the initial IRQ by an I2C client device.

2019-02-19 Thread Jim Broadus
. Fixes: 6f108dd70d30 ("i2c: Clear client->irq in i2c_device_remove") Signed-off-by: Jim Broadus --- drivers/i2c/i2c-core-base.c | 9 + include/linux/i2c.h | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/i2c-core-base.c b/drivers

Re: [PATCH] i2c: Allow recovery of the initial IRQ by a i2c client device.

2019-02-18 Thread Jim Broadus
Thank you Charles. I should probably correct the typos in my commit message. On Mon, Feb 18, 2019 at 2:06 AM Charles Keepax wrote: > > On Fri, Feb 15, 2019 at 04:15:33PM -0800, Jim Broadus wrote: > > A previous change allowed i2c client devices to discover new IRQs upon > > re

Re: [PATCH] Fix resume for ELAN2097 touchscreen.

2019-02-15 Thread Jim Broadus
Happy new year. I think you might be right. I found some discussions about Dell disabling S3 support in a recent bios due to a C-state bug. I'll try to investigate a bit more this weekend. Jim On Fri, Feb 15, 2019 at 1:25 AM Kai-Heng Feng wrote: > > Hi Jiri and James, > > > On Feb 15, 2019, at

[PATCH] i2c: Allow recovery of the initial IRQ by a i2c client device.

2019-02-15 Thread Jim Broadus
in i2c_device_remove. Fixes: 6f108dd70d30 ("i2c: Clear client->irq in i2c_device_remove") Signed-off-by: Jim Broadus --- drivers/i2c/i2c-core-base.c | 9 + include/linux/i2c.h | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/i2c-core-base.c b/drivers

[PATCH] Fix resume for ELAN2097 touchscreen.

2019-02-10 Thread Jim Broadus
inal reset behavior for this device. Signed-off-by: Jim Broadus --- drivers/hid/hid-ids.h | 1 + drivers/hid/i2c-hid/i2c-hid-core.c | 20 ++-- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 24