From patchwork Mon Feb 5 12:44:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13545492 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 77B26C48295 for ; Mon, 5 Feb 2024 12:45:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3N+8f9DQtVxlobLGGFzFFIHDHZ+kJ8ukBWoS54t/iE0=; b=Dz0XD6yE/ZuGJh TrpCOyC3xXySzi4fa2qJ/KuUzlhAjNJyozpdgpTP6C+R4jr70YfvqvCy2BYTpii77TBlIQ25e28bJ ybEN59pIIV0l9DJct9eedGtCxBiTw5b8j9fZPj4wGFxvqvcsaSgkAiMqS11E+f+d+7fE21qkGjNpZ I37+hh2gK5ZWTy7z9cq0h7YxUItJFJMTc52CIDqx/qC7qSJn5CGVB4ytyoC8CdFRyJkw5WW7A4j4V b4zh2+3ZBFKd/TSHBq4IAANnmyaeAjPrVtOwfYaBs2vuJ99xDOwBrWzcS5b1+VV180EBz3BBCsx3q r6C943BdDdHXD+C9LjYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWyLh-00000003FyC-3whd; Mon, 05 Feb 2024 12:45:21 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWyLf-00000003Fwk-0j3N for linux-arm-kernel@lists.infradead.org; Mon, 05 Feb 2024 12:45:20 +0000 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40fdd65a9cfso4459575e9.3 for ; Mon, 05 Feb 2024 04:45:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707137117; x=1707741917; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qzqV0UO0jd/4JdiYuZ+6mTTVkqveZDGGM2rG00rXSTc=; b=WXvhCoWvN8Lbxkb6OlvxFcVLpmfauru5Nd11FOlHMWCXkhCxFofXEccLO0TyEnA4Sl YcKD9koTTU7CWnQqTPmOEsgjD8BI3XP7LP6ykfQMk1eSsPYUyF8vNkKgsPFc9CN0Rtra g//0Gh03OBZdEo0PXJVVQRr+Nungm0qY1SUNfLfnlI0OA+80cI7MYuxagFa4u7XkNLnH RoIhmVJzS3vSNA3bCf0jKYysIA8vm2sUVvSOMHe2oPFI4GfNzjjQ93QbRBy34R66QPyu PRO+PpL5hkReOTDNioaJnrPpE0VR9reASHjQt6flqc0pvA57y5T8nq6OCzMpeOIRNo0d LMlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707137117; x=1707741917; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qzqV0UO0jd/4JdiYuZ+6mTTVkqveZDGGM2rG00rXSTc=; b=qb2YBAnJvZps0Y02YMuKdr6dacwiPrQOuwEW2w+N22nuk7Rl/xp3lFQ5ZqlE5bImpG cRtWPN++D22SSL61FV+vlC6Z5hmnEaVi+XQL4QPv6pwbWVzncHIeI4Sajs+0PM8AKrRV +ps/ohN0pLra2FMLNhmGFylwU4bfWEB6sDcKOKmE3MuxwJe3RNafIBm8W2yk2PVvQRv9 c37bSiCN2uGhqrVIKvCImZtcw54VJUnvo/y1bNbf09Vswr1XIs4Py1fhiA+a2B5ky/yd /i32YtZySAabtyD29fQe8Rfc/HAWu6r5CQPwcMCrj3cm9QtMU3cHQ9XSClD/s8d4SwyG m7zA== X-Gm-Message-State: AOJu0YxIT2kIOORWkYrnZHX8emgZq9fq5l7Mg/uV+K1+dNRxMGmSEEiy WVb/zmFkQgBQVJdiZrZCl3RpWEVEfWJ++0ZwjoIrAxpS/DJU5Fc0FB587V1cZIg= X-Google-Smtp-Source: AGHT+IFCKz6TaNf8Wi48wX9ZlwyutWIPPZTXx6ugbsIO8/uoZ5HED/9gWjMV/RRvT6DovAc3pjtzqg== X-Received: by 2002:a05:600c:2604:b0:40f:cb0d:a44e with SMTP id h4-20020a05600c260400b0040fcb0da44emr4478868wma.9.1707137117361; Mon, 05 Feb 2024 04:45:17 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCU409RMIzEsIUgcbbgdl7NZb9Og7FkKHQI6vdbmd+4XwjonGIBFjxdzOKAfbWMz7L6UZaR+he/YIyYAh3Fo/NXaoD14EoJof1rM4EjMBs4R+0EEJlKAVyL5JJkNilcHQJZ7yfLgXGblXcrnNlWnlf9BqDFBbLxFfbxi5NOrrpPXroJgGttBQexJdnNltM/8FvjnoHfUhtiAlkL3nmVTzVN2KxJBiU1mi82BaeyWjP+0wYyacGbQrdTWjCxkSUSyx1nT3JyfjOoaq5locTcXLd+jucD5B524WT1VRAJ1Q1uflMdHqhlgfXry1NVfiiQcaMJpt+WKxwYN8jP3xo1dfUbH+Y2EkprHbnBHInyVjMWFfJ7/5r5q98nl6tTky24pZkY5+9kl8OHY+7YwUPMyGQK1D8A+4n12qP4mI3wjE5+4bXrIR5YH2y+VIx1UtqckmH7fN+WsSpZ89FSYf6fPj9cWw0FOYJgBDq75Uaq4ZrXS/J9AGkRsOxExq/lCuw== Received: from ta2.c.googlers.com.com (105.168.195.35.bc.googleusercontent.com. [35.195.168.105]) by smtp.gmail.com with ESMTPSA id n9-20020adff089000000b0033b35da384fsm3650812wro.33.2024.02.05.04.45.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 04:45:16 -0800 (PST) From: Tudor Ambarus To: broonie@kernel.org, andi.shyti@kernel.org, semen.protsenko@linaro.org Cc: krzysztof.kozlowski@linaro.org, alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH v4 00/16] spi: s3c64xx: straightforward cleanup Date: Mon, 5 Feb 2024 12:44:57 +0000 Message-ID: <20240205124513.447875-1-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.594.gd9cf4e227d-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240205_044519_235495_40DD8DF8 X-CRM114-Status: UNSURE ( 8.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Simple, straightforward patches that were compiled tested. v4: - drop "spi: s3c64xx: use bitfield access macros" patch as there was no agreement on how the reg fields should be handled. - don't change the style in s3c64xx_spi_dt_match(), drop just the unneeded casts - collect Sam's R-b tags v3: - reworked the bitfied access macros patch so that the bit operations are the same as before the patch. Fix S3C64XX_SPI_PSR_MASK value, drop S3C64XX_SPI_CS_NSC_CNT_MASK. - add a new patches to explicitly remove a duplicated definition and to drop a superfluous bitwise NOT operation. - collect R-b tags v2: https://lore.kernel.org/linux-arm-kernel/36a664b1-666d-4fc4-90d9-35b42e56973d@linaro.org/ Tudor Ambarus (16): spi: s3c64xx: explicitly include spi: s3c64xx: explicitly include spi: s3c64xx: avoid possible negative array index spi: s3c64xx: fix typo, s/configuartion/configuration spi: s3c64xx: sort headers alphabetically spi: s3c64xx: remove unneeded (void *) casts in of_match_table spi: s3c64xx: remove else after return spi: s3c64xx: move common code outside if else spi: s3c64xx: check return code of dmaengine_slave_config() spi: s3c64xx: propagate the dma_submit_error() error code spi: s3c64xx: rename prepare_dma() to s3c64xx_prepare_dma() spi: s3c64xx: return ETIMEDOUT for wait_for_completion_timeout() spi: s3c64xx: drop blank line between declarations spi: s3c64xx: downgrade dev_warn to dev_dbg for optional dt props spi: s3c64xx: remove duplicated definition spi: s3c64xx: drop a superfluous bitwise NOT operation drivers/spi/spi-s3c64xx.c | 80 +++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 40 deletions(-)