From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759392AbcAUK7f (ORCPT ); Thu, 21 Jan 2016 05:59:35 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:33782 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759031AbcAUK7d (ORCPT ); Thu, 21 Jan 2016 05:59:33 -0500 Date: Thu, 21 Jan 2016 11:59:34 +0100 From: Johan Hovold To: Mark Brown Cc: Johan Hovold , Michael Trimarchi , Jacob Siverskog , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , "alsa-devel@alsa-project.org" , LKML Subject: Re: [PATCH 2/3] ASoC: pcm179x: Add I2C interface driver Message-ID: <20160121105934.GB31514@localhost> References: <1453132657-18678-1-git-send-email-jacob@teenage.engineering> <1453132657-18678-3-git-send-email-jacob@teenage.engineering> <20160118165657.GE3169@localhost> <20160119122524.GM6588@sirena.org.uk> <20160119141144.GB12069@localhost> <20160119163208.GN6588@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160119163208.GN6588@sirena.org.uk> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 19, 2016 at 04:32:08PM +0000, Mark Brown wrote: > On Tue, Jan 19, 2016 at 03:11:44PM +0100, Johan Hovold wrote: > > On Tue, Jan 19, 2016 at 12:25:24PM +0000, Mark Brown wrote: > > > > This does seem like something that the modules code should be able to > > > cope with - we have a reference from the driver struct to the table > > > which you'd really expect it to be using. We already have some issues > > > there with userspace not handling multiple modaliases terribly well IIRC. > > > That reference is only used for matching, while the aliases are > > generated from the MODULE_DEVICE_TABLE macro (and elf magic). > > Sure, but there's no reason we can't change that. Might take quite a bit of work to the modpost tools to achieve, though. Johan