Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1297779
| From | Yingjoe Chen <yingjoe.chen@mediatek.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] regulator: mt6397: convert to arch_initcall |
| Date | 2015-12-24 09:20 +0100 |
| Message-ID | <qJ9hU-4kG-3@gated-at.bofh.it> (permalink) |
| References | <qIOGu-8jX-3@gated-at.bofh.it> <qIQoV-Yy-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 2015-12-23 at 12:00 +0000, Mark Brown wrote: > On Wed, Dec 23, 2015 at 06:16:08PM +0800, Henry Chen wrote: > > Please fix your mail client to word wrap within paragraphs at something > substantially less than 80 columns. Doing this makes your messages much > easier to read and reply to. > > > Due to some device may need reulator operation in earlier boot time like gpu module which > > power domain need regulator power on first. Move regulator of mt6397 > > initialization earlier in boot so that real devices can use regulator > > without probe deferring. > > Several problems here. One is that we usually use subsys_initcall() for > working around the known broken subsystems here, why have you decided to > go for arch_initcall() instead. Another is that you're saying this is > for GPUs but I'm not aware of any reason why GPUs are broken and we > should not be introducing new problems here - what's going on? These changes are related to pinctrl init order patch. The related discussion is here: http://lists.infradead.org/pipermail/linux-mediatek/2015-December/003298.html and these should really be a series: mediatek pwrap http://lists.infradead.org/pipermail/linux-mediatek/2015-December/003347.html mt6397 MFD core http://lists.infradead.org/pipermail/linux-mediatek/2015-December/003348.html mt6397 regulator http://lists.infradead.org/pipermail/linux-mediatek/2015-December/003349.html I think Henry use arch_initcall because that's what pinctrl patch was using. In this case, we should use subsys_initcall for all these. Joe.C -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] regulator: mt6397: convert to arch_initcall Henry Chen <henryc.chen@mediatek.com> - 2015-12-23 11:20 +0100
Re: [PATCH] regulator: mt6397: convert to arch_initcall Mark Brown <broonie@kernel.org> - 2015-12-23 13:10 +0100
Re: [PATCH] regulator: mt6397: convert to arch_initcall Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-12-24 09:20 +0100
csiph-web