From patchwork Thu Sep 3 10:56:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis de Bethencourt X-Patchwork-Id: 7115871 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E4DA8BEEC1 for ; Thu, 3 Sep 2015 10:58:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1FFE820818 for ; Thu, 3 Sep 2015 10:58:12 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id DA9F220773 for ; Thu, 3 Sep 2015 10:58:10 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 138B32658B1; Thu, 3 Sep 2015 12:58:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 89DBC26582D; Thu, 3 Sep 2015 12:57:17 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 070E426582D; Thu, 3 Sep 2015 12:57:17 +0200 (CEST) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by alsa0.perex.cz (Postfix) with ESMTP id 83D9126586C for ; Thu, 3 Sep 2015 12:56:50 +0200 (CEST) Received: by wicmc4 with SMTP id mc4so15653121wic.0 for ; Thu, 03 Sep 2015 03:56:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=fa54r+80xuKVsF9v5i9nmAgi9lecwsYTShD6TaeUleo=; b=nrfvHheC6r3kD1LTytGtHx/8Uj5Q6EeoLzOo9njqNRpJn3dCAmuqVZmjKub9W+kZ7k NzTq3VFzkQ34lfVq/Web9wGsHri79d+z5fqBvapqjR8TgyAxXMEV/xye8jmM39XzGLlU 72YPQtOhRp4mpYP56aC/iec3pNcg2NuLSG7bk9oNbBCjt9Un7dYTcMm/OAy82gvPm4Na oph7T20T7WwHKAkWa6sCz0EU1rwtTamvij/Z//crodAcNlE61TE1YmwqYqWXslR83CfH BN1GMzbL2MvcsYTfLmp4RgKmnTHw/RgjB/poqIdDGqlL0sRXnE4L3liPZ+RgBjobtDJ+ OaHA== X-Received: by 10.194.7.106 with SMTP id i10mr25801495wja.86.1441277810024; Thu, 03 Sep 2015 03:56:50 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id lk16sm8384539wic.6.2015.09.03.03.56.49 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 03 Sep 2015 03:56:49 -0700 (PDT) Date: Thu, 3 Sep 2015 12:56:48 +0200 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Message-ID: <20150903105648.GA16821@goodgumbo.baconseed.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen , patches@opensource.wolfsonmicro.com, Takashi Iwai , Liam Girdwood , Javier Martinez Canillas , Mark Brown , Charles Keepax Subject: [alsa-devel] [PATCH 04/12] ASoC: wm8580: Fix module autoload for OF platform driver X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This platform driver has 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/codecs/wm8580.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c index 759a792..a9f3900 100644 --- a/sound/soc/codecs/wm8580.c +++ b/sound/soc/codecs/wm8580.c @@ -916,6 +916,7 @@ static const struct of_device_id wm8580_of_match[] = { { .compatible = "wlf,wm8580" }, { }, }; +MODULE_DEVICE_TABLE(of, wm8580_of_match); static const struct regmap_config wm8580_regmap = { .reg_bits = 7,