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=-4.1 required=3.0 tests=BAYES_00,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 2A434C433DF for ; Mon, 17 Aug 2020 05:44:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 09CF1206FA for ; Mon, 17 Aug 2020 05:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597643084; bh=aqIsg2MDXKpvMXXPQ5wP3TKUruW1MuQtK/g5YmaXzcE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=a/FA4dURgqvrcI4IdgroUrWgIRvQy79DUUDaqczNDuRL8cXfc7heocEI8reDR+r2l Pej0UNt0U4DbM+vY0Zf9Z34KN21RWwbcFo93iuOlH7P0hm9Ixud6o/FDF6vBI1cFDx qPZJ4jhUEJnoKN5AowSRqbdLK1ioPgvSM4GsdES4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726596AbgHQFon (ORCPT ); Mon, 17 Aug 2020 01:44:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:56042 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726267AbgHQFol (ORCPT ); Mon, 17 Aug 2020 01:44:41 -0400 Received: from localhost (unknown [122.171.38.130]) (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 40AA3206FA; Mon, 17 Aug 2020 05:44:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597643081; bh=aqIsg2MDXKpvMXXPQ5wP3TKUruW1MuQtK/g5YmaXzcE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WWK7fnFdl1g9pGQK6EXMuPWBCnLkYmVnwL0Ico816DgwJZ7qnPvYW8LeUVio3mKoq GDZpoYgtXvhGAWMOb3wz5ccfFqGFCIUZB8wF7V3Zl1dcWkZyWyAcvFwlEoRjXys3s8 CkXd/Dq0Mu8pyinGUqt1GW7hstXXdiHteknPLIvk= Date: Mon, 17 Aug 2020 11:14:35 +0530 From: Vinod Koul To: Peter Ujfalusi Cc: dmaengine@vger.kernel.org, dan.j.williams@intel.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: of-dma: Fix of_dma_router_xlate's of_dma_xlate handling Message-ID: <20200817054435.GK2639@vkoul-mobl> References: <20200806104928.25975-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200806104928.25975-1-peter.ujfalusi@ti.com> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 06-08-20, 13:49, Peter Ujfalusi wrote: > of_dma_xlate callback can return ERR_PTR as well NULL in case of failure. > > If error code is returned (not NULL) then the route should be released and > the router should not be registered for the channel. Applied, thanks -- ~Vinod