[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190624084427.GA1014@kunai>
Date: Mon, 24 Jun 2019 10:44:27 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: "Enrico Weigelt, metux IT consult" <lkml@...ux.net>
Cc: "Enrico Weigelt, metux IT consult" <info@...ux.net>,
linux-kernel@...r.kernel.org, linus.walleij@...aro.org,
bgolaszewski@...libre.com, linux-gpio@...r.kernel.org,
linux-i2c@...r.kernel.org
Subject: Re: [PATCH 1/3] include: linux: i2c: more helpers for declaring i2c
drivers
> Okay, what's the correct initialization method then ?
> Just convert it to already existing module_i2c_driver() ?
"module_platform_driver" you mean? That's tricky because it can
introduce regressions easily. I had one situation where one wanted
subsys_init and one wanted module_init.
The correct solution is to fix the boot dependency in the affected I2C
client drivers. That definately needs HW and thorough testing.
It may also need something better than the current deferred probe. Big
topic.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists