Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp711141rwb; Fri, 7 Oct 2022 03:11:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4ULEWC2mgvvOJLMbulEk/hwP0ue07kMhaG3lQJbOCjGrCo3jyynbU2rwEZHDOI0azbdhWn X-Received: by 2002:a05:6402:28ca:b0:43b:5235:f325 with SMTP id ef10-20020a05640228ca00b0043b5235f325mr3764131edb.320.1665137516397; Fri, 07 Oct 2022 03:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665137516; cv=none; d=google.com; s=arc-20160816; b=qCpxLLpHz00sSYfHPpnDjOch6/inL1p7/Ln+T4OZtaTRXjkYKfujoyJ1Tm3LKYCrmJ WIscfjWq6w/qYVmLBYMHh1E5ATN8JAMXo1T9kgBxnU+OhyMsECddGGp4uvFZshj8gccN sMJ68h3oWIK1JZ7aYujhF0xVOEmyT783uk3qf+9d3bhSqnPh4KbPTS1ebIL46AiS90Py nSj/+gqjJPc9Mpmh+GNJeiV8EooGVMwa7Eyc4pQHI6X9LfK03E4FogudFOXmu9raDuwq iDHNkE/jpYNsMR7TZNUfT4UZRGUZb0TLqqQpn0Nh3plCARNpQnWI/KIyHLGZGB/5KTyy ynHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9wXzZL6TCLYPEDUZ+dvArotuft8Q4ql9mG/CZ2h8Hzo=; b=pEJHTqaF3165iRSlnFdMuhIku6bvzsgodMRgGdhOE7HQREI4ch3bmoP3E2tDVgztGz XlBi5/b6hB2a0GMFyJ3PKII6vbrwIi4UCct5IwB4H/Ljifc47otJSrAVOdJitdJVwSvV OEeMrvsyOF0wY8Y/MMyOSn/AYbwYVGMDcO9gG5+MQ/mHZzRBY47SJBDAp93K+218Z6nZ 1e9JsE/YodsIA7QpDdNDF1F1f4oyxbcewk96aTmFAjVXsT7rjLxRsJWwLzM0Yzm16Bke WVTx1Eh484cs1heAFFlXadcssfeMSOa6Vpz9Cen2AHJqSWb6GHsUlite0Vr16KcZrvwd xKuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lXBAV5c5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g24-20020a170906199800b007317274bb0dsi1603649ejd.979.2022.10.07.03.11.30; Fri, 07 Oct 2022 03:11:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lXBAV5c5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229578AbiJGKJm (ORCPT + 99 others); Fri, 7 Oct 2022 06:09:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229683AbiJGKJj (ORCPT ); Fri, 7 Oct 2022 06:09:39 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4F85B69; Fri, 7 Oct 2022 03:09:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665137375; x=1696673375; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ntbOPNyLNjMZGzyFQOgCOtXM5VLPqnEfepUtnJip/PA=; b=lXBAV5c5CCybroI4igBTY8Yu+cdEPzsdd82d00eHbzehexvU/Z0bLV+7 Kfo21KEp+o1pURESYub+6Le26LK6xL6CXp1N5iaHW9gfv+uiADzK9ZGX6 8xdDyBv3DrX44QDMGFdnT/m73l39FgXmQ6VJzK2L6qnlvTU9aZsFPmspg rDSwiBXcDqomLdiXYIY/+2n+yTeL1VE7R1ew2//8n+hD8AnxpaUTxTR6C J9WU7Z1uzzzb5+yluZwd0pvBblfLiaV4mP74/t5/aXaTsJ5NyNE5O1Y9p 8YcDuGtaWWFz463M5XJEKkmCpiCsGYaqVH8pZ9Y6ZAAq1uIq25oQJWRZr A==; X-IronPort-AV: E=McAfee;i="6500,9779,10492"; a="330140294" X-IronPort-AV: E=Sophos;i="5.95,166,1661842800"; d="scan'208";a="330140294" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Oct 2022 03:09:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10492"; a="767530612" X-IronPort-AV: E=Sophos;i="5.95,166,1661842800"; d="scan'208";a="767530612" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 07 Oct 2022 03:09:31 -0700 From: Heikki Krogerus To: Greg Kroah-Hartman Cc: Bastian Rieck , grzegorz.alibozek@gmail.com, andrew.co@free.fr, meven29@gmail.com, pchernik@gmail.com, jorge.cep.mart@gmail.com, danielmorgan@disroot.org, bernie@codewiz.org, saipavanchitta1998@gmail.com, rubin@starset.net, maniette@gmail.com, nate@kde.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH v1 0/2] usb: typec: UCSI resume fix Date: Fri, 7 Oct 2022 13:09:49 +0300 Message-Id: <20221007100951.43798-1-heikki.krogerus@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, These two patches fix an issue where the ucsi drivers fail to detect changes on the connection status (connections/disconnections) that happen while the system is suspended. Heikki Krogerus (2): usb: typec: ucsi: Check the connection on resume usb: typec: ucsi: acpi: Implement resume callback drivers/usb/typec/ucsi/ucsi.c | 42 +++++++++++++++++++++--------- drivers/usb/typec/ucsi/ucsi_acpi.c | 10 +++++++ 2 files changed, 39 insertions(+), 13 deletions(-) -- 2.35.1