Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1305248pxk; Mon, 31 Aug 2020 15:53:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyM00fiRMvAOpHaOpgu+0krFzDUyfwWmCw7ZybVQ72L0yKgDxuNIuU70rfpDKxngLiMStgM X-Received: by 2002:a17:906:150b:: with SMTP id b11mr2937825ejd.234.1598914385316; Mon, 31 Aug 2020 15:53:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598914385; cv=none; d=google.com; s=arc-20160816; b=KiI6NJUQ5neKRm2AbROWxhveZfnrIO5LUT4A8+4IcSjctI021VWBy7jADE4I5u0+Z3 x84ofopSLDfNMRYQAY2R6VQ0qgyMI/ppp7V0ecuc++KPW1qnte2M8uRcXKr8QQNwgLYk gTlTEal5sV1vm0U+TGW/3Xoh/UNWg/xGvzWiTB5sgyT4TfLMLKN53hlapMFkDGa9Lv4D dgY6xrO5EUSbjuEU+yUr6VsdjV/xsaQ1xI3A99zICBnsgoXL889k6d3vWSVX71LXBL8O WsRyk2nZCsn/0eL94LQ/z0b6sHQflh2/WMUWrpFNQ/ZXVSMjdtpFlezUzk/RKXGnLQXM i5mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kFKd8H+fYcsnXikLZwEK7Kis8FaXYZ+WoHtlNYHj6YY=; b=bClxrsWNdgu4jGnzcmIDGb5om0grc8DkJi3CR08/zGEuMogpTCYHrrv5U4NFagmoo3 lPYlCK8TrdtFQZxkmhEzHfKrVzyVrvO6Ro/6LzY/86n6OzKsaqFlotq6x6K8jezvJnEZ XG2EO40QmJSEZ7okaB1cqhy4gSgngc4kRXdleuYmsgRAgBPX79gVk/fXRDECiNE62h7O QVeFQjKAu131dpT0Lgb8wQRrzir5Id1ZNwyvGMzR6ujGkTiBk8wvDAo3deTDuE+IPoKO xWuZjJHBMdsWeTcbnVeG0bmqsBDG2WiY2V8IeniYal8iSBN5XvryktqGickkSpBVlKIq 9erw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="TRawU+1/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si6937417edz.305.2020.08.31.15.52.42; Mon, 31 Aug 2020 15:53:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="TRawU+1/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729960AbgHaUX2 (ORCPT + 99 others); Mon, 31 Aug 2020 16:23:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728129AbgHaUX1 (ORCPT ); Mon, 31 Aug 2020 16:23:27 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D5F8C061573; Mon, 31 Aug 2020 13:23:27 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id w14so8242404ljj.4; Mon, 31 Aug 2020 13:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kFKd8H+fYcsnXikLZwEK7Kis8FaXYZ+WoHtlNYHj6YY=; b=TRawU+1/VIDgjh+KJAHd77ib+z8P8nWexHRXuAKwH/8XfVUFQRwEFLSoU7czyf+YHV jCgENpnLMWLn3xdFjKGDibTIkymg/qK9pes1IKnCFVn1ZtUwtdMyHGPXi9WwmhfbdoJR Crdo2o09jcnaCMQc3CCPFBY6HcjSFjhD6Rv1Uz4P5ZVmK9CMRxqWvp1fsU+kQJ9Cg3uN 4Ilp6i18m7N8J4wZB/rgb+gms1kvS7zUKXSkWmdfbsvv99OoRgI9r08QZxVWmd8doXi1 dcHY61aw2LuCsMP5/625FW/CGsf8lweVXtnCE9rV0/Vs6wA/kTvSzBIC4Ij1rDS3PULQ Spyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kFKd8H+fYcsnXikLZwEK7Kis8FaXYZ+WoHtlNYHj6YY=; b=lM5r3W7jGpePZE1kQh4JKgfM32ND6Y9xHAZCirsclUYALIULJaPuucBiME3ulZ7P9b URLACKrK+BsgH/9ql38f0rr9isv2Gef7rqVF11JKyQ7k2rDqZYDDmuVluatmE/BwzfhC AuspzuT3IF32Bm//0BnOOSjIJFrQCXF4DaWHKvxnBuGdclXqfaVAn8zKfOxjsxwrBt5b zGhx6W1oAQbk1aCQBIKsLGIhCaPUX3NNH/HPDhtavgW3GKxQjUGl34gh+DC1688nGdkX SIsq+75IRNDLel/KoZbggobm7yw93tZ0TjY1FeQL90JJZkNzKW4hlBEruuHNTaEIYAhy phOA== X-Gm-Message-State: AOAM530qRjS60sOpDYzuhExvOpmJ5cIvvTlBfKn+SCBKBsC8we+DWFSZ TXnlPYiCycilHePLbfHgeYsPELQ9bNk= X-Received: by 2002:a2e:b8cb:: with SMTP id s11mr1486897ljp.110.1598905405704; Mon, 31 Aug 2020 13:23:25 -0700 (PDT) Received: from localhost.localdomain (109-252-170-211.dynamic.spd-mgts.ru. [109.252.170.211]) by smtp.gmail.com with ESMTPSA id z20sm1769054ljk.97.2020.08.31.13.23.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2020 13:23:25 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Laxman Dewangan , Wolfram Sang Cc: linux-i2c@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 00/12] Improvements for Tegra I2C driver Date: Mon, 31 Aug 2020 23:22:51 +0300 Message-Id: <20200831202303.15391-1-digetx@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! This series performs a small refactoring of the Tegra I2C driver code and hardens the atomic-transfer mode. Dmitry Osipenko (12): i2c: tegra: Make tegra_i2c_flush_fifos() usable in atomic transfer i2c: tegra: Add missing newline before returns i2c: tegra: Clean up messages in the code i2c: tegra: Don't ignore tegra_i2c_flush_fifos() error i2c: tegra: Use reset_control_reset() i2c: tegra: Improve formatting of function variables i2c: tegra: Use dev_err_probe() i2c: tegra: Runtime PM always available on Tegra i2c: tegra: Clean up probe function i2c: tegra: Drop '_timeout' from wait/poll function names i2c: tegra: Remove likely/unlikely from the code i2c: tegra: Factor out error recovery from tegra_i2c_xfer_msg() drivers/i2c/busses/i2c-tegra.c | 601 ++++++++++++++++++--------------- 1 file changed, 338 insertions(+), 263 deletions(-) -- 2.27.0