Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1273132

Re: [PATCH] i2c: exynos5: register driver early in subsys initcall to avoid probe defer

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH] i2c: exynos5: register driver early in subsys initcall to avoid probe defer
Date 2015-11-19 14:50 +0100
Message-ID <qwxL4-1xA-13@gated-at.bofh.it> (permalink)
References <qpiQO-6Tg-9@gated-at.bofh.it> <qq3mG-27l-17@gated-at.bofh.it> <qwxrI-1qr-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Marek,

> This problem is known for ages, there were number of attempts to add

Yes, I heard of it, too.

> support for deferred probe or solve the problem of deferred UDC driver
> probe, but none got accepted so far:

Then they need to be worked on. AFAIK the rejection is based on
implementation details, not because the feature itself is not wanted,
or?

> Till now it worked somehow for boards with older i2c bus drivers, which
> were registered in subsys initcall. Boards, which use newer i2c bus drivers
> cannot be used with usb gadgets compiled-in.

Yes, because the above issue needs to be *fixed*, not workarounded. You
still have the option to carry your patch out-of-tree if fixing the
issue is not an option for you.

We already had problems here when someone tried to revert
subsys_initcall to module_init because of other dependency issues on
another particular board. So, the pain should really go where the fixing
is needed.

I hope you understand,

   Wolfram

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH] i2c: exynos5: register driver early in subsys initcall to  avoid probe defer Marek Szyprowski <m.szyprowski@samsung.com> - 2015-11-19 14:30 +0100
  Re: [PATCH] i2c: exynos5: register driver early in subsys initcall  to avoid probe defer Wolfram Sang <wsa@the-dreams.de> - 2015-11-19 14:50 +0100

csiph-web