From: Luis de Bethencourt Subject: Re: [PATCH] ASoC: bcm2835-i2s: Fix module autoload for OF platform drivers Date: Thu, 15 Oct 2015 14:36:25 +0200 Message-ID: <20151015123625.GA24671@goodgumbo.baconseed.org> References: <20150827150401.GA32653@goodgumbo.baconseed.org> <8737xdgdtt.fsf@eliezer.anholt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <8737xdgdtt.fsf@eliezer.anholt.net> Sender: linux-kernel-owner@vger.kernel.org To: Eric Anholt Cc: linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Stephen Warren , Lee Jones , Wolfram Sang , alsa-devel@alsa-project.org, linux-rpi-kernel@lists.infradead.org List-Id: alsa-devel@alsa-project.org On Wed, Oct 14, 2015 at 05:44:46PM -0700, Eric Anholt wrote: > Luis de Bethencourt writes: > > > These platform drivers have a OF device ID table but the OF module > > alias information is not created so module autoloading won't work. > > > > Signed-off-by: Luis de Bethencourt > > --- > > sound/soc/bcm/bcm2835-i2s.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/sound/soc/bcm/bcm2835-i2s.c b/sound/soc/bcm/bcm2835-i2s.c > > index 03fa1cb..8c435be 100644 > > --- a/sound/soc/bcm/bcm2835-i2s.c > > +++ b/sound/soc/bcm/bcm2835-i2s.c > > @@ -862,6 +862,8 @@ static const struct of_device_id bcm2835_i2s_of_match[] = { > > {}, > > }; > > > > +MODULE_DEVICE_TABLE(of, bcm2835_i2s_of_match); > > + > > static struct platform_driver bcm2835_i2s_driver = { > > .probe = bcm2835_i2s_probe, > > .driver = { > > -- > > It looks like this should go through the asoc tree, but I don't see it > in there. > > FWIW, it is also: > > Acked-by: Eric Anholt Hi Eric, Should I resend adding somebody from the asoc tree to the CC? Thanks for the review, Luis