public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Zhang Ning <zhangn1985@outlook.com>
Cc: Andy Shevchenko <andy@kernel.org>,
	rafael@kernel.org, linux-kernel@vger.kernel.org, lee@kernel.org
Subject: Re: mfd: intel_soc_pmic_bxtwc: irq 0 issue, tmu and typec components fail to probe.
Date: Tue, 13 Aug 2024 10:54:04 +0200	[thread overview]
Message-ID: <2024081349-erupt-reaction-efaa@gregkh> (raw)
In-Reply-To: <TY2PR01MB3322AAB13DBBB16C334A5D39CDBB2@TY2PR01MB3322.jpnprd01.prod.outlook.com>

On Sat, Aug 10, 2024 at 01:27:18PM +0800, Zhang Ning wrote:
> On Fri, Aug 09, 2024 at 05:09:49PM +0300, Andy Shevchenko wrote:
> > On Fri, Aug 09, 2024 at 08:53:24PM +0800, Zhang Ning wrote:
> > > On Fri, Aug 09, 2024 at 03:33:33PM +0300, Andy Shevchenko wrote:
> > > > On Fri, Aug 09, 2024 at 08:02:43PM +0800, Zhang Ning wrote:
> > > > > Hi, Greg & Rafael
> > > > > 
> > > > > recently, when I try to enable mfd components for intel_soc_pmic_bxtwc
> > > > > for debian kernel[0]. I find tmu and typec failed to probe.
> > > > > 
> > > > > after check source code, I find irq for these two devices are 0, when
> > > > > use platform_get_irq, it will alway fail.
> > > > > 
> > > > > 	if (WARN(!ret, "0 is an invalid IRQ number\n"))
> > > > > 		return -EINVAL;
> > > > > 	return ret;
> > > > > 
> Hi, Greg
> 	One more question, I don't understand why 0 is not a valid IRQ
> 	number for platform device?

Please search the archives for many many many discussions about this.

thanks,

greg k-h

  reply	other threads:[~2024-08-13  8:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-09 12:02 mfd: intel_soc_pmic_bxtwc: irq 0 issue, tmu and typec components fail to probe Zhang Ning
2024-08-09 12:33 ` Andy Shevchenko
2024-08-09 12:53   ` Zhang Ning
2024-08-09 14:09     ` Andy Shevchenko
2024-08-10  0:32       ` Zhang Ning
2024-08-10  5:27       ` Zhang Ning
2024-08-13  8:54         ` Greg KH [this message]
2024-09-04 14:29       ` Zhang Ning
2024-09-04 14:36         ` Andy Shevchenko
2024-09-05 11:27           ` Zhang Ning
2024-09-05 12:33             ` Andy Shevchenko
2024-09-05 14:34               ` Zhang Ning
2024-09-05 14:58               ` Zhang Ning
2024-09-24 18:02               ` Andy Shevchenko
2024-10-03 21:57         ` Andy Shevchenko

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=2024081349-erupt-reaction-efaa@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=andy@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=zhangn1985@outlook.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