From patchwork Wed Nov 14 02:30:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Neri X-Patchwork-Id: 1737231 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id AE43D3FCAE for ; Wed, 14 Nov 2012 02:32:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932478Ab2KNCb6 (ORCPT ); Tue, 13 Nov 2012 21:31:58 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:53285 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932469Ab2KNCbz (ORCPT ); Tue, 13 Nov 2012 21:31:55 -0500 Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id qAE2VoDk018222; Tue, 13 Nov 2012 20:31:50 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id qAE2VokC017070; Tue, 13 Nov 2012 20:31:50 -0600 Received: from dlelxv22.itg.ti.com (172.17.1.197) by dfle72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.1.323.3; Tue, 13 Nov 2012 20:31:50 -0600 Received: from localhost (dexx0075479.dextra-mty.naucm.ext.ti.com [10.87.228.135]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id qAE2VoT6014661; Tue, 13 Nov 2012 20:31:50 -0600 From: Ricardo Neri To: , CC: , , , Ricardo Neri Subject: [PATCH 2/3] ASoC: OMAP: HDMI: Update CPU DAI driver name Date: Tue, 13 Nov 2012 20:30:48 -0600 Message-ID: <1352860249-26348-3-git-send-email-ricardo.neri@ti.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1352860249-26348-1-git-send-email-ricardo.neri@ti.com> References: <1352860249-26348-1-git-send-email-ricardo.neri@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Update the driver name to use the platform device created by the OMAPDSS HDMI driver for interested audio drivers to use. This platform device represents the audio functionality of the HDMI IP in the applicable OMAP processors. It does not make explicit reference to ASoC concepts such as DAI. Signed-off-by: Ricardo Neri --- sound/soc/omap/omap-hdmi-card.c | 2 +- sound/soc/omap/omap-hdmi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/omap/omap-hdmi-card.c b/sound/soc/omap/omap-hdmi-card.c index 184180e..d6f4dba 100644 --- a/sound/soc/omap/omap-hdmi-card.c +++ b/sound/soc/omap/omap-hdmi-card.c @@ -32,7 +32,7 @@ static struct snd_soc_dai_link omap_hdmi_dai = { .name = "HDMI", .stream_name = "HDMI", - .cpu_dai_name = "omap-hdmi-audio-dai", + .cpu_dai_name = "omap_hdmi_audio", .platform_name = "omap-pcm-audio", .codec_name = "hdmi-audio-codec", .codec_dai_name = "omap-hdmi-hifi", diff --git a/sound/soc/omap/omap-hdmi.c b/sound/soc/omap/omap-hdmi.c index f59c69f..6592d6f 100644 --- a/sound/soc/omap/omap-hdmi.c +++ b/sound/soc/omap/omap-hdmi.c @@ -37,7 +37,7 @@ #include "omap-pcm.h" #include "omap-hdmi.h" -#define DRV_NAME "omap-hdmi-audio-dai" +#define DRV_NAME "omap_hdmi_audio" struct hdmi_priv { struct omap_pcm_dma_data dma_params;