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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DB54C4332F for ; Fri, 18 Nov 2022 20:12:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231760AbiKRUMG (ORCPT ); Fri, 18 Nov 2022 15:12:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231377AbiKRUMD (ORCPT ); Fri, 18 Nov 2022 15:12:03 -0500 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7576A24F1B for ; Fri, 18 Nov 2022 12:11:57 -0800 (PST) Received: by mail-pf1-x429.google.com with SMTP id y203so5893796pfb.4 for ; Fri, 18 Nov 2022 12:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=AK84sEdglhKCy6lbEOsoadaKi0CogPRpI+bWM1SmryQ=; b=WPthLEWV8/nmjV+9mrnybjGy68E4abEuiuKlH6X2eBDDtC20XGdn7tqHiTRv2UfQBL 9XVgktEIEs6br7pfDfStGVLDbCjJ7zWesVacptX6G4kd/fZLZSda+k48ggfwmEvJJ1HA yotDf6DldktAl+G/6miuDzX1uMNW808rtJbNR0cW1Lmsjpl7n2D6tqyjA6viMYqtQ1k8 0/l/RskUX+L50dTRoMVSq0fX2ZBjfEujj0yu+MJY4iRbIB+GU7pb0REnTuqfV9vnl4lS OA1uvrVR5uglsiThUmNkyrnsXbkaiTwkimXOfov+M6cOWD5pzgJf/HQkked41xXQGCNW lsAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AK84sEdglhKCy6lbEOsoadaKi0CogPRpI+bWM1SmryQ=; b=afF7ZAF7Y+Bg22SfjvVf8f92LWALdI4LM+XiFClLNHxuRBloikdP5D0t4wX9+ME7yz 867UMHLOi2eZm92/QUj9KnkmxM9C8atK2mMxdf2k6H03D11NU6RZWaHat+5vmM2+qsYn Cft1ZwXdVAgi7+khyjHHpdWPMFfH9bWT09Ksk4NpSKMHpDv6onj+w5SK1CZOpIKHXSNK HMHxs4VHMMTZMtbFiV6iwTJv8Fjnqr8Kw4uHnjJc5qVJo4LNz7yNQdHwlu60MSBT/gVo 4csW9YVPwv83ytxDYBS8FvqGRJ0AVcQwOOCKoXRzA3pGbpQ1TNANTL9ucvQ29xQmbweT lzSA== X-Gm-Message-State: ANoB5pnl/VhvsR98Q+JelsykpEisiyNvS4z/tW+cn/yEzggJzM82adBM w2tnyyCUlRJNeTWhDntb0IPcHQ== X-Google-Smtp-Source: AA0mqf4njVmoedXQxhge+yjqgPduMedQtamMTRZ+5kOkotW9We/i9F6LJhVWrBtIk0cYkUwcFQUClQ== X-Received: by 2002:a62:838f:0:b0:56c:8b7:f2dc with SMTP id h137-20020a62838f000000b0056c08b7f2dcmr9520267pfe.16.1668802316864; Fri, 18 Nov 2022 12:11:56 -0800 (PST) Received: from localhost ([75.172.139.56]) by smtp.gmail.com with ESMTPSA id s187-20020a625ec4000000b0056b8181861esm3703210pfb.19.2022.11.18.12.11.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 12:11:56 -0800 (PST) From: Kevin Hilman To: Nicolas Frayer , peter.ujfalusi@gmail.com, vkoul@kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Cc: glaroque@baylibre.com, nfrayer@baylibre.com Subject: Re: [PATCH v3] dmaengine: ti: k3-udma: Deferring probe when soc_device_match() returns NULL In-Reply-To: <20221117184406.292416-1-nfrayer@baylibre.com> References: <20221117184406.292416-1-nfrayer@baylibre.com> Date: Fri, 18 Nov 2022 12:11:56 -0800 Message-ID: <7h4juw9g4z.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nicolas Frayer writes: > When the k3 socinfo driver is built as a module, there is a possibility > that it will probe after the k3 udma driver and the later returns -ENODEV. > By deferring the k3 udma probe we allow the k3 socinfo to probe and > register the soc_device_attribute structure needed by the k3 udma driver. > Removed the dev_err() message as well as it's deferring and not failing. > > Signed-off-by: Nicolas Frayer Reviewed-by: Kevin Hilman