From patchwork Wed May 17 08:40:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mika Westerberg X-Patchwork-Id: 13244457 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 063ADC77B7F for ; Wed, 17 May 2023 08:41:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230044AbjEQIlA (ORCPT ); Wed, 17 May 2023 04:41:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229755AbjEQIk4 (ORCPT ); Wed, 17 May 2023 04:40:56 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C75EBE5D for ; Wed, 17 May 2023 01:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684312855; x=1715848855; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fPpkw/B0lnk7DXQvjT/wwoqrELBsrddb/HZVg4grdm0=; b=RVQoV35P9iqL5PEG3BRvllOq3x37lOO7ocsn5ksV7ckIJhbQfJKtVjc5 45vW9rhrVtqaMWdQuvb2b6Qz+a4QxkJtoKXovQcgxNgBOeAZL0FCWJW/k xUCYr13gzsq5LkL/svZFXfn3QDWgmusU6yKC2P7yd7+7LtE7PUYHGdEfT frczWb2tsFnmjhDpUhTYufDVyq6Vp+SiZnqiZSEbY7nilCfxeKjx1RBg5 yZbZXIH/85ScMYJ6m4hrTAyvUxY42S9W+9eLqW1iNJp04L9fDw2R6fD9x TnEXNev9kfKoVzQITsKXkGbv+az39KuA5NuxspDSj33Ppqsl+SUAiwTYr A==; X-IronPort-AV: E=McAfee;i="6600,9927,10712"; a="354871305" X-IronPort-AV: E=Sophos;i="5.99,281,1677571200"; d="scan'208";a="354871305" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2023 01:40:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10712"; a="1031624539" X-IronPort-AV: E=Sophos;i="5.99,281,1677571200"; d="scan'208";a="1031624539" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga005.fm.intel.com with ESMTP; 17 May 2023 01:40:52 -0700 Received: by black.fi.intel.com (Postfix, from userid 1001) id 1D31564C; Wed, 17 May 2023 11:41:04 +0300 (EEST) From: Mika Westerberg To: linux-usb@vger.kernel.org Cc: Yehezkel Bernat , Michael Jamet , Lukas Wunner , Andreas Noever , Mika Westerberg Subject: [PATCH 3/7] thunderbolt: Add debug log for link controller power quirk Date: Wed, 17 May 2023 11:40:59 +0300 Message-Id: <20230517084103.45213-3-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230517084103.45213-1-mika.westerberg@linux.intel.com> References: <20230517084103.45213-1-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Add a debug log to this quirk as well so we can see what quirks have been applied when debugging. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/quirks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thunderbolt/quirks.c b/drivers/thunderbolt/quirks.c index 928689b66126..854d84148850 100644 --- a/drivers/thunderbolt/quirks.c +++ b/drivers/thunderbolt/quirks.c @@ -10,6 +10,7 @@ static void quirk_force_power_link(struct tb_switch *sw) { sw->quirks |= QUIRK_FORCE_POWER_LINK_CONTROLLER; + tb_sw_dbg(sw, "forcing power to link controller\n"); } static void quirk_dp_credit_allocation(struct tb_switch *sw)