Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1690172 > unrolled thread
| Started by | Johannes Poehlmann <johannes.poehlmann@izt-labs.de> |
|---|---|
| First post | 2017-07-18 13:30 +0200 |
| Last post | 2017-07-18 16:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v3 2/4] w1: ds1wm: add level interrupt modes Johannes Poehlmann <johannes.poehlmann@izt-labs.de> - 2017-07-18 13:30 +0200
Re: [PATCH v3 2/4] w1: ds1wm: add level interrupt modes Greg Kroah-Hartman <greg@kroah.com> - 2017-07-18 16:30 +0200
| From | Johannes Poehlmann <johannes.poehlmann@izt-labs.de> |
|---|---|
| Date | 2017-07-18 13:30 +0200 |
| Subject | [PATCH v3 2/4] w1: ds1wm: add level interrupt modes |
| Message-ID | <u4yRs-1Lc-33@gated-at.bofh.it> |
Signed-off-by: Johannes Poehlmann <johannes.poehlmann@izt-labs.de> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> --- drivers/w1/masters/ds1wm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/w1/masters/ds1wm.c b/drivers/w1/masters/ds1wm.c index 6bba2fe..1b37def 100644 --- a/drivers/w1/masters/ds1wm.c +++ b/drivers/w1/masters/ds1wm.c @@ -567,6 +567,10 @@ static int ds1wm_probe(struct platform_device *pdev) irq_set_irq_type(ds1wm_data->irq, IRQ_TYPE_EDGE_RISING); if (res->flags & IORESOURCE_IRQ_LOWEDGE) irq_set_irq_type(ds1wm_data->irq, IRQ_TYPE_EDGE_FALLING); + if (res->flags & IORESOURCE_IRQ_HIGHLEVEL) + irq_set_irq_type(ds1wm_data->irq, IRQ_TYPE_LEVEL_HIGH); + if (res->flags & IORESOURCE_IRQ_LOWLEVEL) + irq_set_irq_type(ds1wm_data->irq, IRQ_TYPE_LEVEL_LOW); ret = devm_request_irq(&pdev->dev, ds1wm_data->irq, ds1wm_isr, IRQF_SHARED, "ds1wm", ds1wm_data); -- 2.1.4
[toc] | [next] | [standalone]
| From | Greg Kroah-Hartman <greg@kroah.com> |
|---|---|
| Date | 2017-07-18 16:30 +0200 |
| Message-ID | <u4BFF-3wF-41@gated-at.bofh.it> |
| In reply to | #1690172 |
On Tue, Jul 18, 2017 at 01:26:51PM +0200, Johannes Poehlmann wrote: > Signed-off-by: Johannes Poehlmann <johannes.poehlmann@izt-labs.de> > Acked-by: Evgeniy Polyakov <zbr@ioremap.net> > --- > drivers/w1/masters/ds1wm.c | 4 ++++ > 1 file changed, 4 insertions(+) > I can not take a patch without any changelog text at all, sorry. Please write something as obviously the patch does do something... thanks, greg k-h
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web