public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mfd: intel_soc_pmic_bxtwc: irq 0 issue, tmu and typec components fail to probe.
@ 2024-08-09 12:02 Zhang Ning
  2024-08-09 12:33 ` Andy Shevchenko
  0 siblings, 1 reply; 15+ messages in thread
From: Zhang Ning @ 2024-08-09 12:02 UTC (permalink / raw)
  To: gregkh, rafael, linux-kernel; +Cc: zhangn1985, andy, lee

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;

My workaround for debian is to hardcode irq to 0, instead to use api.

I don't know how to write a good solution, thus send an email to you.

BR.
Ning.

[0]: https://salsa.debian.org/kernel-team/linux/-/merge_requests/1156/diffs

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-10-03 21:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox