Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2049212rdb; Sun, 4 Feb 2024 12:31:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+I37atjeXr4Cib5e53UkP63VMHWNQiL8c2+T202GPTfSDFCkCCrBcYxQs5h1YHTl/3aQc X-Received: by 2002:a05:6512:3c8b:b0:511:4c73:1a7e with SMTP id h11-20020a0565123c8b00b005114c731a7emr1606433lfv.5.1707078704204; Sun, 04 Feb 2024 12:31:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707078704; cv=pass; d=google.com; s=arc-20160816; b=f3LCdumLAqbVJVCyWdDesydw9QmCZ0Q61hAT/grASvYP/K9UiHZtontjje7xaC9LPU 9/+m5nDHIZ1DmlL0zpNCS1CeM3uddX033ZxiVODB1rLGc5A6pDyGUHxuzraYf/xVyoQq VjJ+oln1WGppwMJOGPZ/+TCF+Q9lZPOTQi4EH/uals465Ic6NG2J8iaXfdPsmEvMITAE In44Vzu5rwhEpF8rbsbenU0TEBsLEePi367vJxomF67t4mkuXk2xDIA8pnkS0UCeP2da NbwKnRyxC579J/J2+17ujqYy048EyzefG3FajCjgHANTB6s3nKa8o+XF2M/Dtwz4KC1R K3GA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=D6yuKcZdtYy0HmkzXS41Szvpj2GEcSBPCxr8dpuk7ug=; fh=FKNdQfZQnmZ5HkKDMKA1sM6vysrV5Y6qU1uf+DL8NFA=; b=m4ooUyCfrhqhNV9Knjl0wMXlBAnHeRr2VinY3oy0WHmjbK6x5C+eKxu4RFEEk7tekq pJQSyt/eETd4J0AvkhhQLlJYqAbyzb0upER0dscSaHMCDMUJGWEeGsbbfM/ySjl8dKYu 0cOyHfGLtRQvmTWRiHvEgnenteqXw2aNhl6Llk3Erk20z5DJpmrFh7dPNyfG/lpqzfVV +SU1/LzKaX46+spEv7Pn3AVOTf1YiJDlypmuS/X4GkoR0fUfmYMG8prdkTFTHzp6YgWx 3BoDgpq1kdqlMKRtFTE5w/B02uksLQoNqJXAiCfb4FPlr+6JdezZ4i50OSThK14OsN59 KhTQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-51880-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51880-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCVaIqSN/pmm2Gj/O4hnnbaKZhU7KnPJqTQp0CsK+G/bTuV620e1Zrbhx+25REBhUeQI2gON+qjHLCqgYQw4ehUJdej+cs86spittQau8w== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e15-20020a170906248f00b00a35e18775fesi3225620ejb.470.2024.02.04.12.31.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 12:31:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51880-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-51880-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51880-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EC9A81F220AD for ; Sun, 4 Feb 2024 20:31:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08388286A6; Sun, 4 Feb 2024 20:31:35 +0000 (UTC) Received: from fgw20-7.mail.saunalahti.fi (fgw20-7.mail.saunalahti.fi [62.142.5.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCC4325542 for ; Sun, 4 Feb 2024 20:31:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.142.5.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707078694; cv=none; b=Xcm76J+2JAPOgytQy8qXbdkfXCvGKMvmH7ED91+UixYbRc4DzKZpgfp8Mc0j+GSkINxm6v2xiSni3rTgENdLWzQ+Aaa+R19CCRyJ6Ni2IZljbVKOzWdFXMA6JQ6n1cs+63Dl8wAjY0VDVCkKSaTz9K/nfHTrbiyrJDv97O2N8EQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707078694; c=relaxed/simple; bh=3Gq/ec25WbFpbYKeDm3qfAdZ9+oAoiWuleAZ6KXpFBA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XB572N5AVyRTrZU37pRlhOjSAFJAI3C1Y2x7m5sBxPV57bgAzo/kAZy/EyUIyqg4FaZflabDqr8RKXwobHOaqrQOqwdGh3ib7ZERiDtrW+X9IvJn31mepnDA1jBxdjEJ70VJ744EAbnQMB5mAVpaWXnnUQoSKwYiJnYROfjhnwI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com; spf=fail smtp.mailfrom=gmail.com; arc=none smtp.client-ip=62.142.5.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=gmail.com Received: from localhost (88-113-26-30.elisa-laajakaista.fi [88.113.26.30]) by fgw20.mail.saunalahti.fi (Halon) with ESMTP id 60a7153a-c39c-11ee-b3cf-005056bd6ce9; Sun, 04 Feb 2024 22:31:30 +0200 (EET) From: andy.shevchenko@gmail.com To: Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vladimir Oltean , Minjie Du , Andy Shevchenko Subject: [PATCH v2 0/2] spi: fsl-dspi: A couple of error handling improvements Date: Sun, 4 Feb 2024 22:29:17 +0200 Message-ID: <20240204203127.1186621-1-andy.shevchenko@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit A couple of error handling improvements here: - unshadowing error code from dmaengine_slave_config() - making error messages uniform In v2: - split to two patches (Vladimir) - improved commit message in the patch 2 (Vladimir) Andy Shevchenko (2): spi: fsl-dspi: Preserve error code returned by dmaengine_slave_config() spi: fsl-dspi: Unify error messaging in dspi_request_dma() drivers/spi/spi-fsl-dspi.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) -- 2.43.0