Content-Type: multipart/mixed; boundary="===============8444576350410238339==" MIME-Version: 1.0 From: Sean Young To: kbuild-all@lists.01.org Subject: Re: [PATCH v4] media: rc: pwm-ir-tx: Switch to atomic PWM API Date: Fri, 29 Oct 2021 12:54:12 +0100 Message-ID: <20211029115412.GA32383@gofer.mess.org> In-Reply-To: <20211029110602.uugnbm5vtfpghiwh@pengutronix.de> List-Id: --===============8444576350410238339== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Fri, Oct 29, 2021 at 01:06:02PM +0200, Uwe Kleine-K=C3=B6nig wrote: > On Fri, Oct 29, 2021 at 08:16:08AM +0100, Sean Young wrote: > > This means with your changes, if the carrier and duty cycle are both set > > for each transmission, then we're doing more work. If only the carrier > > is set for each transmission, then there is no net gain/loss (I think), > > but the code size has increased. > = > OK, then I discard my patch. > = > While reading that I wondered if it makes sense to have a callback that > sets both carrier and duty cycle and then remove the other two. There are separate lirc ioctls to set carrier and duty cycle, that's why there are separate callbacks. Sean --===============8444576350410238339==--