From patchwork Fri Aug 6 21:10:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 493014 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=-9.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_SANE_1 autolearn=ham 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 EF90DC4338F for ; Fri, 6 Aug 2021 21:10:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CAF0B61186 for ; Fri, 6 Aug 2021 21:10:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234753AbhHFVLH (ORCPT ); Fri, 6 Aug 2021 17:11:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231431AbhHFVLH (ORCPT ); Fri, 6 Aug 2021 17:11:07 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D80D0C0613CF for ; Fri, 6 Aug 2021 14:10:49 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id l18so12667982wrv.5 for ; Fri, 06 Aug 2021 14:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=Pe6wkVKIN0eBOIupzZhTEm6EbyMWjUI9685wvHuh2pQ=; b=CvD55yakGozj2f9QrbIwe/W0iZcRC3w7g6v1gYFcqngkKYE/Rjyh9pHWs45F4Z+THZ Qd21MMQVNdSP707c1o1oxZ4ONDyTXo7pmpbctnRKfZBoUc4YN1gzrgGUMjvUHBu7LJfC tddVWz6xNiRS9YwUc/edG5B/4mM0yWPPrrQf4byPxPWAAy+pT0cqDEMDqoWBJIqAmk93 VhMFlHX8SuNBMpBZerv1MQIWjuJWaIr9GfDS+PRwaOPUZvuvEqAJmbG+m6WpXx1TTL9O EVxNCUEsuPrCqlrxJ5WBbr4YAqrbnd9OHnDiHGbCZenUC0YSDrOG93azsMsIh7UMi+ht dnfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=Pe6wkVKIN0eBOIupzZhTEm6EbyMWjUI9685wvHuh2pQ=; b=efhhGk9BcfOXC+fJSZ71tghgxuB+EI2UvaoHdJPAnp05lZpZ2h/vLu2KpexvAHDagW vdm7ASjP4PClEQKw8RIAufWItG2xFpNzXWP1hg+RzAK49q+4MHUaSnLv4t0zgOZSTeB+ hTTluBOXgRxg41WIWiLPnpRQEqFl53ROzOXAwFs9dn6mOWLOo7FmRDNOQxm6kXckV426 SfVN0Fz0LqUXqUdpxKvoFPJY8yarT46ReUZameq9O5AQGZOgXiSwsENRhc3zIZ4xjq9s 1Qf+YpPXqm05yO2VHiXG2R8RzrvrLAjiJeItWpxRW5lGpe3ZGRVNw8XREYGrxRJ88mdo VRng== X-Gm-Message-State: AOAM530BHlbdRzoaGofFVSwKPe8Iy92+y/kkepZ+qn1HWsmDIOKMWQ7G 4WDKoTwVo6APia5b+2K1fV8AeMAq4E2YgQ== X-Google-Smtp-Source: ABdhPJyJW6jRu454Q1Hs8UDk3pwliQq6Qhfhql9XgCdwgrn7f6BxNrCoutm3mrCh/VIGVJKy1JLL+A== X-Received: by 2002:a5d:44cb:: with SMTP id z11mr12880080wrr.100.1628284248393; Fri, 06 Aug 2021 14:10:48 -0700 (PDT) Received: from ?IPv6:2003:ea:8f10:c200:cc6d:4891:c067:bf7b? (p200300ea8f10c200cc6d4891c067bf7b.dip0.t-ipconnect.de. [2003:ea:8f10:c200:cc6d:4891:c067:bf7b]) by smtp.googlemail.com with ESMTPSA id o17sm9286765wmp.31.2021.08.06.14.10.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Aug 2021 14:10:48 -0700 (PDT) From: Heiner Kallweit Subject: [PATCH v2 0/9] i2c: i801: Series with improvements To: Jean Delvare Cc: "linux-i2c@vger.kernel.org" Message-ID: Date: Fri, 6 Aug 2021 23:10:34 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org This series includes a number of improvements to the i801 driver. v2: removed first patch from v1 series patch 2 - include linux/mutex.h patch 4 - avoid assigning potentially dangling pointer to *return_value patch 8 - move definition of struct i2c_board_info info to inner loop - add missing curly braces to outer for loop Heiner Kallweit (9): i2c: i801: Improve disabling runtime pm i2c: i801: make p2sb_spinlock a mutex i2c: i801: Remove not needed debug message i2c: i801: Improve is_dell_system_with_lis3lv02d i2c: i801: Remove not needed check for PCI_COMMAND_INTX_DISABLE i2c: i801: Improve i801_acpi_probe/remove functions i2c: i801: Improve i801_add_mux i2c: i801: Improve register_dell_lis3lv02d_i2c_device i2c: i801: Improve handling platform data for tco device drivers/i2c/busses/i2c-i801.c | 138 ++++++++++++---------------------- 1 file changed, 48 insertions(+), 90 deletions(-) Reviewed-by: Andy Shevchenko Reviewed-by: Jean Delvare