From patchwork Tue Jan 30 08:55:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Young X-Patchwork-Id: 193893 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1084676dyb; Tue, 30 Jan 2024 00:56:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJBG40FMknkmQvYw3C1gLLiyV5xP0ic65ZePLKwsuzjncSI3k1cPvmOC4QYfavAyCQKoe4 X-Received: by 2002:a05:622a:144a:b0:42a:298d:c2a4 with SMTP id v10-20020a05622a144a00b0042a298dc2a4mr9010303qtx.76.1706605012878; Tue, 30 Jan 2024 00:56:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706605012; cv=pass; d=google.com; s=arc-20160816; b=mVEF8CXbGEwKyiK8N/TtcxtzCBaa1rMH4lMtSNau0azNQ9QetizXsp48m8nXq6hVFi 7dOlKzsSR6mnQfKv4nIiS/5hYi0eARzXM+QfvOdVLtjG7OEfUorbEihy8lEJzdtb0VPL jrcJXo80sWHDnacH2zd2RtJp/YcTWoQ1voXmLdX4ZaEMMLzRQWOrd/LuKT/w7+PHpoln cAatVMVs89NQcW6VM8OZ0xHRocITVj7A8HKV6dG0DEUaIWEnBMJ3AcdAyCBAiUXcIzs6 B9u3FeE+OHou1/Pd/G6fTbqSSzEpPi30Al1UQpixOhJEhF37O7S0MvYRCBYeSIij9rYQ ddsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-signature; bh=c7DfsonflqbI7yLZx940v65T/pjC7xr4TKbKhTeJNUo=; fh=N0HTbRUaLE55g6rcMrb49udI1ulGZK+0s30Zf6kmw8E=; b=1If0I2TCADGTl1GMPHVPV2U3qe7cOhA+b9GrtPRe+7fXTuXaEYIj0H9yjKqDMoCW9g D1lajrMfKBJY/UYsOSXothlVgxn1AwAn+/OkBfhwTq4VAx/W6Z2Wa5O0EZORD0yOSpya Ald4dX2nfxFHaxX09Y2AviFk058mCKaB7huJVsN8TrTCYeqLqwj98cbD+nef14Maj9B5 w8wG/rDtWQEEu07v730HwKfQIV6Lauxd1eJ+/8hb/sM65vkGyY1V2agieKkPny+CvFdy oL7G7OrQkyWnXMNJD1dkIm8B02QFILb9FisKLMMWMAtz3UPghhXOSk0YGPdBCMr4Iriq oKmw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mess.org header.s=2020 header.b=LSJoA0a0; dkim=pass header.i=@mess.org header.s=2020 header.b=n58TGot3; arc=pass (i=1 spf=pass spfdomain=mess.org dkim=pass dkdomain=mess.org dkim=pass dkdomain=mess.org dmarc=pass fromdomain=mess.org); spf=pass (google.com: domain of linux-kernel+bounces-44185-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44185-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mess.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e11-20020ac84e4b000000b0042ab6f267fbsi857307qtw.111.2024.01.30.00.56.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 00:56:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44185-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@mess.org header.s=2020 header.b=LSJoA0a0; dkim=pass header.i=@mess.org header.s=2020 header.b=n58TGot3; arc=pass (i=1 spf=pass spfdomain=mess.org dkim=pass dkdomain=mess.org dkim=pass dkdomain=mess.org dmarc=pass fromdomain=mess.org); spf=pass (google.com: domain of linux-kernel+bounces-44185-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44185-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mess.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EBB481C25B03 for ; Tue, 30 Jan 2024 08:56:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9051B5A792; Tue, 30 Jan 2024 08:55:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mess.org header.i=@mess.org header.b="LSJoA0a0"; dkim=pass (2048-bit key) header.d=mess.org header.i=@mess.org header.b="n58TGot3" Received: from gofer.mess.org (gofer.mess.org [88.97.38.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A7D8858AB4; Tue, 30 Jan 2024 08:55:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=88.97.38.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706604940; cv=none; b=A1xEqetSXhQzb3ZpyQTECDWVmOiBHZym7pixIipfaEkeC1VZlKjRDKrcyOOfy3xzGOWbP17A3YY/BDOiG1idcNac+nmjM3cHcJc8XTWyGkMPRHRXcgUqzBS61QAVP5p7THQzDPrDbfeB5PZaokioPiX8F4XxWfoNdcvvCW3w1QE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706604940; c=relaxed/simple; bh=VaUtochClCSBzwjeApM8D3I4o77tKUb0XFdxMvcCM/g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qZsz/LQfIXqXVi31DaSlzsH5UaaUjEgriXd7dT4JpIHSfq9PJ2u74HhKuaCCi44giccpBVW+oWgaCnQuISy7BUXiUETBvLyDxnwjx9Rs+uv3SHvTkZ8Yk4ISkL2KzBhEUARp+S03hfFHNNj8PKJWiR+amxjG3mOOkJmuSeEZ6A0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mess.org; spf=pass smtp.mailfrom=mess.org; dkim=pass (2048-bit key) header.d=mess.org header.i=@mess.org header.b=LSJoA0a0; dkim=pass (2048-bit key) header.d=mess.org header.i=@mess.org header.b=n58TGot3; arc=none smtp.client-ip=88.97.38.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mess.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mess.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mess.org; s=2020; t=1706604931; bh=VaUtochClCSBzwjeApM8D3I4o77tKUb0XFdxMvcCM/g=; h=From:To:Cc:Subject:Date:From; b=LSJoA0a0B8QRvFgO0YvWpKpbMywLfEyCUDBw844ZHPqG036b4Eu7buaFIErJsNrxY OhI+zzHkKPNDhymXj4zCQ2WnL8dMCsTKNBDMtwCKYQcTi5fXwC2R0muSHieNfq0eGz L8yVO8Aw/omJuSs/r8qZk/zCfxtP6Mk6Yfw13aUmVDB2j1DNpOiBbHLMzGP/aYBmJ5 X57J87yzQq8mm0sk9kteUyxstvGlqykJd0icq9VSBBDdA3pPk6xmk21nzEpRat8tIx NAA6SJiYARtZF7ofZGFVWVrhXZK2GbDnVAdHMdAa3YGL4KDi6+6Gw/0V0t7ufdf55c wKzVm2TrHH/ew== Received: by gofer.mess.org (Postfix, from userid 501) id 2DE2D100741; Tue, 30 Jan 2024 08:55:31 +0000 (GMT) X-Spam-Level: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mess.org; s=2020; t=1706604929; bh=VaUtochClCSBzwjeApM8D3I4o77tKUb0XFdxMvcCM/g=; h=From:To:Cc:Subject:Date:From; b=n58TGot3ClKZ9/J0KKiVpvlsiXlE+utSyizWm3JGYP/MNVQTJJYSgTF91cW0woE5L 2OfPTV2GQEqFjPHxtrUdUooimGYP8qPlGx4A3bHduguZJj4m+ffsn2JL94378khiCB NklzzO4l2t/NYYtZliSSuYWUYNsHf+WXz+RpGWtIhVFtsM+dZ+j7uy4r+2VRObBE5B 8BQxkNYg25Z/fNjnUByAYyYEikx8VnzaAjT6LJS8364pcAE8dM2Pg/bqvpe2iwwXsd An3a3rq1C0tJu/cMz14GKpmiUZ/4tIonRq/lbZqTDg9OReWKSBvwYPdX1DP8ucfY9x aPberFDx8qoow== Received: from bigcore.mess.org (bigcore.local [IPv6:2a02:8011:d000:212:bc3c:1b4a:a6fa:362f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by gofer.mess.org (Postfix) with ESMTPSA id CC6691000B2; Tue, 30 Jan 2024 08:55:29 +0000 (GMT) From: Sean Young To: Sean Young , Mauro Carvalho Chehab , Thierry Reding Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: pwm-ir-tx: Depend on CONFIG_HIGH_RES_TIMERS Date: Tue, 30 Jan 2024 08:55:25 +0000 Message-ID: <20240130085525.6222-1-sean@mess.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789505058067850209 X-GMAIL-MSGID: 1789505058067850209 Since commit 363d0e56285e ("media: pwm-ir-tx: Trigger edges from hrtimer interrupt context"), pwm-ir-tx uses high resolution timers for IR signal generation when the pwm can be used from atomic context. Ensure they are available. Fixes: 363d0e56285e ("media: pwm-ir-tx: Trigger edges from hrtimer interrupt context") Signed-off-by: Sean Young --- drivers/media/rc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index 2afe67ffa285e..74d69ce22a33e 100644 --- a/drivers/media/rc/Kconfig +++ b/drivers/media/rc/Kconfig @@ -319,6 +319,7 @@ config IR_PWM_TX tristate "PWM IR transmitter" depends on LIRC depends on PWM + depends on HIGH_RES_TIMERS depends on OF help Say Y if you want to use a PWM based IR transmitter. This is