From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C59E5C33C9E for ; Thu, 30 Jan 2020 08:25:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8ED19214AF for ; Thu, 30 Jan 2020 08:25:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580372708; bh=oLADHjwsZK/zmHyFtHVsSOYErltf5rGudZWVt9X53gQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=bXBnss9P9RKQdHIoZTnSJ00k8jugRiVSke2hGaOJiLjOaENW/rGwN8rPg3ZPfRmHM 79MKZBrOyj2hLXr9hl5FdDoAEBMKAkU1GKf1LLJcasEv1lapXjPhKiNdkw5PZjCjQl yLwpx4xMR5TLWqfhK804Uh+hD7RYh4wGB77e3TH0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726757AbgA3IZI (ORCPT ); Thu, 30 Jan 2020 03:25:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:54734 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726464AbgA3IZI (ORCPT ); Thu, 30 Jan 2020 03:25:08 -0500 Received: from localhost (unknown [117.99.87.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A2739206D5; Thu, 30 Jan 2020 08:25:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580372707; bh=oLADHjwsZK/zmHyFtHVsSOYErltf5rGudZWVt9X53gQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P+qhIqJa76JfwK7WzQlywJzMe3cyG8N4B/5+L+1h7UrZwiDF+xemU8OYiAEEpbMSO gWoo1Jn5IkfyJFb3w1k/JihqxhbvXbYnSXzCrOrE8NqUn2y9MkbB3wVUI9ZpO5MLGU wcxyTiwbpXEqr49mtNa7oEi3kckbyOL8jL/H+f5g= Date: Thu, 30 Jan 2020 13:55:03 +0530 From: Vinod Koul To: Marek Szyprowski Cc: dmaengine@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Mark Brown , Geert Uytterhoeven , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Peter Ujfalusi Subject: Re: [PATCH v2] dmaengine: Fix return value for dma_requrest_chan() in case of failure Message-ID: <20200130082503.GD2841@vkoul-mobl> References: <20200130070834.17537-1-m.szyprowski@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200130070834.17537-1-m.szyprowski@samsung.com> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 30-01-20, 08:08, Marek Szyprowski wrote: > Commit 71723a96b8b1 ("dmaengine: Create symlinks between DMA channels and > slaves") changed the dma_request_chan() function flow in such a way that > it always returns EPROBE_DEFER in case of channels that cannot be found. > This break the operation of the devices which have optional DMA channels > as it puts their drivers in endless deferred probe loop. Fix this by > propagating the proper error value. Fixed the title and Applied, thanks -- ~Vinod