From patchwork Thu Mar 26 23:51:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 46395 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B9D7821584 for ; Thu, 26 Mar 2015 23:51:23 +0000 (UTC) Received: by lbbzl9 with SMTP id zl9sf7520001lbb.2 for ; Thu, 26 Mar 2015 16:51:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=xhnllLKueoe6JsZk1iBS4MhqnJ4cmOr0eEZBPfWlFGY=; b=GHr5ArVSCSUhGEitLNLeveVVhouOjosbz7HCjBu/4xB2yIYJCIoQsQJaJu5PACA4J6 79qtOMBsmGRX8R/q6qI7lXhHsQ6XXhUtoJnbPTfF0Pz6VzGlhRH4zyMw5CkJqdt7EgAx yiTmDv5DfDycki5YuGHQ131pa7bHh14pSJYgHR1EUrur5JC6FLUHiA/3Qyx4ZNwkAxPR QHPgDRou+NyhCTDqoC2LNNgvsXcxIZMQ3b7qoQr2z8DS6YuLAyB+CrufPzx87+uzlPtq +hYTX1lDenlcfZYRGX+R0rvnK6vxySsxyQ1JV/ppWWX4nRnWu4XoSQ62cAPQrSwa6rCS ooew== X-Gm-Message-State: ALoCoQkwTzXd9oDykuM392O3516hXyaXGnM5eKNy+gZr+POfNsPTKSVZWdyja5CxwcNDsNpHBRZL X-Received: by 10.112.39.11 with SMTP id l11mr3900137lbk.12.1427413882637; Thu, 26 Mar 2015 16:51:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.45.6 with SMTP id i6ls309330lam.10.gmail; Thu, 26 Mar 2015 16:51:22 -0700 (PDT) X-Received: by 10.152.5.36 with SMTP id p4mr15946794lap.7.1427413882495; Thu, 26 Mar 2015 16:51:22 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id f2si203347laa.142.2015.03.26.16.51.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Mar 2015 16:51:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbbzt2 with SMTP id zt2so240704lbb.1 for ; Thu, 26 Mar 2015 16:51:22 -0700 (PDT) X-Received: by 10.112.29.36 with SMTP id g4mr7177129lbh.56.1427413882237; Thu, 26 Mar 2015 16:51:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.57.201 with SMTP id k9csp925244lbq; Thu, 26 Mar 2015 16:51:21 -0700 (PDT) X-Received: by 10.66.142.228 with SMTP id rz4mr31119808pab.86.1427413880618; Thu, 26 Mar 2015 16:51:20 -0700 (PDT) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com. [209.85.192.174]) by mx.google.com with ESMTPS id qx4si389926pbb.19.2015.03.26.16.51.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Mar 2015 16:51:20 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.192.174 as permitted sender) client-ip=209.85.192.174; Received: by pdnc3 with SMTP id c3so78075943pdn.0 for ; Thu, 26 Mar 2015 16:51:19 -0700 (PDT) X-Received: by 10.68.237.138 with SMTP id vc10mr31124146pbc.48.1427413879719; Thu, 26 Mar 2015 16:51:19 -0700 (PDT) Received: from localhost.localdomain (c-67-170-153-23.hsd1.or.comcast.net. [67.170.153.23]) by mx.google.com with ESMTPSA id tg14sm183487pac.15.2015.03.26.16.51.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Mar 2015 16:51:18 -0700 (PDT) From: John Stultz To: "Mark A . Greer" Cc: John Stultz Subject: [PATCH] codec register debugging Date: Thu, 26 Mar 2015 16:51:16 -0700 Message-Id: <1427413876-23194-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: john.stultz@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Change-Id: Ife1dc06fca484854ceaf74ecac9172c7345ad38c --- sound/soc/soc-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 7672e72..8329868 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -4051,7 +4051,7 @@ int snd_soc_register_codec(struct device *dev, struct snd_soc_codec *codec; int ret, i; - dev_dbg(dev, "codec register %s\n", dev_name(dev)); + printk("codec register %s\n", dev_name(dev)); codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL); if (codec == NULL) @@ -4126,11 +4126,11 @@ int snd_soc_register_codec(struct device *dev, /* register any DAIs */ ret = snd_soc_register_dais(dev, dai_drv, num_dai); if (ret < 0) { - dev_err(codec->dev, "ASoC: Failed to regster DAIs: %d\n", ret); + printk("ASoC: Failed to regster DAIs: %d\n", ret); goto fail_codec_name; } - dev_dbg(codec->dev, "ASoC: Registered codec '%s'\n", codec->name); + printk("ASoC: Registered codec '%s'\n", codec->name); return 0; fail_codec_name: