mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Florian Fainelli <f.fainelli@gmail.com>, linux-kernel@vger.kernel.org
Cc: Markus Mayer <mmayer@broadcom.com>,
	"maintainer:BROADCOM STB AVS TMON DRIVER" 
	<bcm-kernel-feedback-list@broadcom.com>,
	Zhang Rui <rui.zhang@intel.com>, Amit Kucheria <amitk@kernel.org>,
	"open list:BROADCOM STB AVS TMON DRIVER"
	<linux-pm@vger.kernel.org>,
	"moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE" 
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] thermal: brcmstb_thermal: Interrupt is optional
Date: Fri, 17 Sep 2021 09:51:08 +0200	[thread overview]
Message-ID: <7359c3c1-8928-d448-e503-13f587cbb567@linaro.org> (raw)
In-Reply-To: <933c889e-dee0-4fc3-bf1a-b3655cabbb28@gmail.com>


Applied, thanks

On 16/09/2021 02:05, Florian Fainelli wrote:
> 
> 
> On 4/26/2021 2:36 PM, Florian Fainelli wrote:
>> Utilize platform_get_irq_optional() to silence these messages:
>>
>> brcmstb_thermal a581500.thermal: IRQ index 0 not found
>>
>> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> 
> This patch was never picked up and still applies. Daniel, can you pick
> it up?
> 
> Thanks!
> 
>> ---
>>   drivers/thermal/broadcom/brcmstb_thermal.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/thermal/broadcom/brcmstb_thermal.c
>> b/drivers/thermal/broadcom/brcmstb_thermal.c
>> index 8df5edef1ded..0cedb8b4f00a 100644
>> --- a/drivers/thermal/broadcom/brcmstb_thermal.c
>> +++ b/drivers/thermal/broadcom/brcmstb_thermal.c
>> @@ -351,7 +351,7 @@ static int brcmstb_thermal_probe(struct
>> platform_device *pdev)
>>         priv->thermal = thermal;
>>   -    irq = platform_get_irq(pdev, 0);
>> +    irq = platform_get_irq_optional(pdev, 0);
>>       if (irq >= 0) {
>>           ret = devm_request_threaded_irq(&pdev->dev, irq, NULL,
>>                           brcmstb_tmon_irq_thread,
>>
> 


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

  reply	other threads:[~2021-09-17  7:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 21:36 Florian Fainelli
2021-09-16  0:05 ` Florian Fainelli
2021-09-17  7:51   ` Daniel Lezcano [this message]
2022-03-01 18:05     ` Florian Fainelli
2022-03-01 20:47       ` Daniel Lezcano
2022-03-01 21:20         ` Florian Fainelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7359c3c1-8928-d448-e503-13f587cbb567@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=amitk@kernel.org \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=f.fainelli@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mmayer@broadcom.com \
    --cc=rui.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®