* [PATCH -next] iio: ping: set pa_laser_ping_cfg in of_ping_match
@ 2020-03-04 11:34 YueHaibing
2020-03-04 11:55 ` Andreas Klinger
0 siblings, 1 reply; 4+ messages in thread
From: YueHaibing @ 2020-03-04 11:34 UTC (permalink / raw)
To: ak, jic23, knaack.h, lars, pmeerw, Jonathan.Cameron
Cc: linux-iio, linux-kernel, YueHaibing
pa_laser_ping_cfg should be set in of_ping_match
instead of pa_ping_cfg.
Fixes: 7bb501f49ddb ("iio: ping: add parallax ping sensors")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/iio/proximity/ping.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/proximity/ping.c b/drivers/iio/proximity/ping.c
index 34aff10..12b893c 100644
--- a/drivers/iio/proximity/ping.c
+++ b/drivers/iio/proximity/ping.c
@@ -269,7 +269,7 @@ static const struct iio_chan_spec ping_chan_spec[] = {
static const struct of_device_id of_ping_match[] = {
{ .compatible = "parallax,ping", .data = &pa_ping_cfg},
- { .compatible = "parallax,laserping", .data = &pa_ping_cfg},
+ { .compatible = "parallax,laserping", .data = &pa_laser_ping_cfg},
{},
};
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH -next] iio: ping: set pa_laser_ping_cfg in of_ping_match
2020-03-04 11:34 [PATCH -next] iio: ping: set pa_laser_ping_cfg in of_ping_match YueHaibing
@ 2020-03-04 11:55 ` Andreas Klinger
2020-03-07 15:30 ` Jonathan Cameron
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Klinger @ 2020-03-04 11:55 UTC (permalink / raw)
To: YueHaibing
Cc: jic23, knaack.h, lars, pmeerw, Jonathan.Cameron, linux-iio,
linux-kernel
Acked-by: Andreas Klinger <ak@it-klinger.de>
YueHaibing <yuehaibing@huawei.com> schrieb am Mi, 04. Mär 19:34:
> pa_laser_ping_cfg should be set in of_ping_match
> instead of pa_ping_cfg.
>
> Fixes: 7bb501f49ddb ("iio: ping: add parallax ping sensors")
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> drivers/iio/proximity/ping.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/proximity/ping.c b/drivers/iio/proximity/ping.c
> index 34aff10..12b893c 100644
> --- a/drivers/iio/proximity/ping.c
> +++ b/drivers/iio/proximity/ping.c
> @@ -269,7 +269,7 @@ static const struct iio_chan_spec ping_chan_spec[] = {
>
> static const struct of_device_id of_ping_match[] = {
> { .compatible = "parallax,ping", .data = &pa_ping_cfg},
> - { .compatible = "parallax,laserping", .data = &pa_ping_cfg},
> + { .compatible = "parallax,laserping", .data = &pa_laser_ping_cfg},
> {},
> };
>
> --
> 2.7.4
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH -next] iio: ping: set pa_laser_ping_cfg in of_ping_match
2020-03-04 11:55 ` Andreas Klinger
@ 2020-03-07 15:30 ` Jonathan Cameron
2020-03-10 13:42 ` Yuehaibing
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Cameron @ 2020-03-07 15:30 UTC (permalink / raw)
To: Andreas Klinger
Cc: YueHaibing, knaack.h, lars, pmeerw, Jonathan.Cameron, linux-iio,
linux-kernel
On Wed, 4 Mar 2020 12:55:46 +0100
Andreas Klinger <ak@it-klinger.de> wrote:
> Acked-by: Andreas Klinger <ak@it-klinger.de>
Applied to the fixes-togreg branch of iio.git.
Btw this is also in mainline I believe, so the -next is probably an
inappropriate marking.
Thanks,
Jonathan
>
> YueHaibing <yuehaibing@huawei.com> schrieb am Mi, 04. Mär 19:34:
> > pa_laser_ping_cfg should be set in of_ping_match
> > instead of pa_ping_cfg.
> >
> > Fixes: 7bb501f49ddb ("iio: ping: add parallax ping sensors")
> > Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> > ---
> > drivers/iio/proximity/ping.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/iio/proximity/ping.c b/drivers/iio/proximity/ping.c
> > index 34aff10..12b893c 100644
> > --- a/drivers/iio/proximity/ping.c
> > +++ b/drivers/iio/proximity/ping.c
> > @@ -269,7 +269,7 @@ static const struct iio_chan_spec ping_chan_spec[] = {
> >
> > static const struct of_device_id of_ping_match[] = {
> > { .compatible = "parallax,ping", .data = &pa_ping_cfg},
> > - { .compatible = "parallax,laserping", .data = &pa_ping_cfg},
> > + { .compatible = "parallax,laserping", .data = &pa_laser_ping_cfg},
> > {},
> > };
> >
> > --
> > 2.7.4
> >
> >
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH -next] iio: ping: set pa_laser_ping_cfg in of_ping_match
2020-03-07 15:30 ` Jonathan Cameron
@ 2020-03-10 13:42 ` Yuehaibing
0 siblings, 0 replies; 4+ messages in thread
From: Yuehaibing @ 2020-03-10 13:42 UTC (permalink / raw)
To: Jonathan Cameron, Andreas Klinger
Cc: knaack.h, lars, pmeerw, Jonathan.Cameron, linux-iio, linux-kernel
On 2020/3/7 23:30, Jonathan Cameron wrote:
> On Wed, 4 Mar 2020 12:55:46 +0100
> Andreas Klinger <ak@it-klinger.de> wrote:
>
>> Acked-by: Andreas Klinger <ak@it-klinger.de>
> Applied to the fixes-togreg branch of iio.git.
>
> Btw this is also in mainline I believe, so the -next is probably an
> inappropriate marking.
Got it, will notice this next time, thanks!
>
> Thanks,
>
> Jonathan
>
>>
>> YueHaibing <yuehaibing@huawei.com> schrieb am Mi, 04. Mär 19:34:
>>> pa_laser_ping_cfg should be set in of_ping_match
>>> instead of pa_ping_cfg.
>>>
>>> Fixes: 7bb501f49ddb ("iio: ping: add parallax ping sensors")
>>> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
>>> ---
>>> drivers/iio/proximity/ping.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/iio/proximity/ping.c b/drivers/iio/proximity/ping.c
>>> index 34aff10..12b893c 100644
>>> --- a/drivers/iio/proximity/ping.c
>>> +++ b/drivers/iio/proximity/ping.c
>>> @@ -269,7 +269,7 @@ static const struct iio_chan_spec ping_chan_spec[] = {
>>>
>>> static const struct of_device_id of_ping_match[] = {
>>> { .compatible = "parallax,ping", .data = &pa_ping_cfg},
>>> - { .compatible = "parallax,laserping", .data = &pa_ping_cfg},
>>> + { .compatible = "parallax,laserping", .data = &pa_laser_ping_cfg},
>>> {},
>>> };
>>>
>>> --
>>> 2.7.4
>>>
>>>
>
>
> .
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-03-10 13:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-04 11:34 [PATCH -next] iio: ping: set pa_laser_ping_cfg in of_ping_match YueHaibing
2020-03-04 11:55 ` Andreas Klinger
2020-03-07 15:30 ` Jonathan Cameron
2020-03-10 13:42 ` Yuehaibing
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).