Message ID | 1433856922-15541-1-git-send-email-srinivas.kandagatla@linaro.org |
---|---|
State | Accepted |
Commit | 2682c7c72e947bab2aa7f61d83eb6fb87a64d742 |
Headers | show
Return-Path: <patchwork-forward+bncBC27VH7PV4DBBKOX3OVQKGQEGAPA4FI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A717B245D4 for <linaro@patches.linaro.org>; Tue, 9 Jun 2015 13:35:38 +0000 (UTC) Received: by wgez8 with SMTP id z8sf4575795wge.2 for <linaro@patches.linaro.org>; Tue, 09 Jun 2015 06:35:38 -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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Ee/5ZJqFHWMIkAyqDX7lN+lMKgG90N63ngrE49uOJR4=; b=f+F2ySQX4uxeXeVpgWspp6YIewQ/Bdsx0zdQfdDpNnZXuNjNq/4Q0g/FwQq+B/Sbao bTcF0kirZEqTwrQhJDmRlPKWqWhGOfdrSbTmmfSgfSbSjMbvvvPR3q/HfjrY0WLqTOd6 yhnYBibhC+apn94nfUUHxM6oHajG5sXmye+Iyv1WZp4l0Coj+7UsOk40SGv+7+8U0/vU zB9uC8Sp+5e90/VXmBuOiZ3iaIeJgApEhLHFhAN5D3eYGlTyMjtll4N3/3FKiN6O74MP 81onkwRKkzcN4jvyKgux5IR0YwScXYk5jtWZclRdynEoRMMrd3XjWCX8afaxgdVONOWL MdCg== X-Gm-Message-State: ALoCoQnd7EOWRWZp1w+wGaLZ+wjTc6uO0uYLOid+yQqUm2ZfX2HMM0Qcy8v07pFm+3neFqN5friL X-Received: by 10.112.26.5 with SMTP id h5mr21965913lbg.4.1433856937960; Tue, 09 Jun 2015 06:35:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.8 with SMTP id u8ls73674laj.39.gmail; Tue, 09 Jun 2015 06:35:37 -0700 (PDT) X-Received: by 10.112.9.104 with SMTP id y8mr16575477lba.49.1433856937697; Tue, 09 Jun 2015 06:35:37 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id cz4si5770294lac.110.2015.06.09.06.35.37 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jun 2015 06:35:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbcue7 with SMTP id ue7so10842377lbc.0 for <patchwork-forward@linaro.org>; Tue, 09 Jun 2015 06:35:37 -0700 (PDT) X-Received: by 10.112.140.231 with SMTP id rj7mr22465068lbb.76.1433856937544; Tue, 09 Jun 2015 06:35:37 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp2617133lbb; Tue, 9 Jun 2015 06:35:36 -0700 (PDT) X-Received: by 10.70.19.204 with SMTP id h12mr39601240pde.84.1433856935467; Tue, 09 Jun 2015 06:35:35 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ai7si8954243pbd.187.2015.06.09.06.35.34; Tue, 09 Jun 2015 06:35:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751582AbbFINfd (ORCPT <rfc822;fu.wei@linaro.org> + 7 others); Tue, 9 Jun 2015 09:35:33 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:35621 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932537AbbFINfc (ORCPT <rfc822; devicetree@vger.kernel.org>); Tue, 9 Jun 2015 09:35:32 -0400 Received: by wiga1 with SMTP id a1so17438493wig.0 for <devicetree@vger.kernel.org>; Tue, 09 Jun 2015 06:35:31 -0700 (PDT) X-Received: by 10.180.36.103 with SMTP id p7mr32379386wij.88.1433856931260; Tue, 09 Jun 2015 06:35:31 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-2-99-231-135.as13285.net. [2.99.231.135]) by mx.google.com with ESMTPSA id nb9sm2893721wic.10.2015.06.09.06.35.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Jun 2015 06:35:30 -0700 (PDT) From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> To: Patrick Lai <plai@codeaurora.org>, Mark Brown <broonie@kernel.org>, kwestfie@codeaurora.org Cc: Rob Herring <robh+dt@kernel.org>, Banajit Goswami <bgoswami@codeaurora.org>, Liam Girdwood <lgirdwood@gmail.com>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.de>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH 2/2] ASoC: qcom: storm: remove special casing EPROBE_DEFER Date: Tue, 9 Jun 2015 14:35:22 +0100 Message-Id: <1433856922-15541-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1433856861-15433-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1433856861-15433-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@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.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/sound/soc/qcom/storm.c b/sound/soc/qcom/storm.c index ee06613..2d833bf 100644 --- a/sound/soc/qcom/storm.c +++ b/sound/soc/qcom/storm.c @@ -122,15 +122,12 @@ static int storm_platform_probe(struct platform_device *pdev) } ret = devm_snd_soc_register_card(&pdev->dev, card); - if (ret == -EPROBE_DEFER) { - return ret; - } else if (ret) { + if (ret) dev_err(&pdev->dev, "%s() error registering soundcard: %d\n", __func__, ret); - return ret; - } - return 0; + return ret; + } #ifdef CONFIG_OF
This patch removes special casing the EPROBE_DEFER error handling in the driver. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> --- sound/soc/qcom/storm.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)