diff for duplicates of <20160924202502.GF16901@lukather> diff --git a/a/1.txt b/N1/1.txt index 91d39aa..bef20e2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -4,19 +4,19 @@ Sorry for the slow answer. On Fri, Sep 09, 2016 at 11:01:08AM +0200, Olliver Schinagl wrote: > > > > > *chip, struct pwm_device *pwm) -> > > > > spin_lock(&sun4i_pwm->ctrl_lock); -> > > > > val = sun4i_pwm_readl(sun4i_pwm, PWM_CTRL_REG); -> > > > > val &= ~BIT_CH(PWM_EN, pwm->hwpwm); +> > > > > ? spin_lock(&sun4i_pwm->ctrl_lock); +> > > > > ? val = sun4i_pwm_readl(sun4i_pwm, PWM_CTRL_REG); +> > > > > ? val &= ~BIT_CH(PWM_EN, pwm->hwpwm); > > > > > + sun4i_pwm_writel(sun4i_pwm, val, PWM_CTRL_REG); > > > > > + spin_unlock(&sun4i_pwm->ctrl_lock); > > > > > + > > > > > + /* Allow for the PWM hardware to finish its last > > > > > toggle. > > > > > The pulse -> > > > > + * may have just started and thus we should wait a +> > > > > + ?* may have just started and thus we should wait a > > > > > full > > > > > period. -> > > > > + */ +> > > > > + ?*/ > > > > > + ndelay(pwm_get_period(pwm)); > > > > > > > > Can't that use the ready bit as well? @@ -56,3 +56,10 @@ Maxime Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: signature.asc +Type: application/pgp-signature +Size: 819 bytes +Desc: not available +URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160924/cb63cb8f/attachment.sig> diff --git a/a/2.bin b/a/2.bin deleted file mode 100644 index 588cd6b..0000000 --- a/a/2.bin +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQIcBAEBAgAGBQJX5uEeAAoJEBx+YmzsjxAgJYsP/1iNdzFALMXDryMvt0+KTJJ2 -MJ4ZJDG/GdwhwFroSzcGyygm4dKKc23Ha0OX98FlJRS8qoBEQpA9CTQPpUkWH8wp -+MNXy+Hgdqdla2PWHqRXSgiaSsetCbdlzmw1MJz+itlz5516D4kQ00pWC2VSm1BS -Dyj/a892iHoqyIxIRBLalyfFQzU2o+D0qjQ2d5K/idITKAmCX8CMr9pow1CfuCZh -QLoGGKwFNzKcyCh/OtpdlCLVX9XCY5Ft4Wepxxs9lUAFYNxpMdjTz85mXcWZ5pJm -dzE4yuoGpflO6l1/C9ehMO/2DlewmnUUdlWqZacJUNNPepNwJjOh4Fa5z3+KaDQn -KtH63zqWXbaKNUVNFH8hTN4XtG0W/NGA5gJ2D29JgdipH4iEsO6hgJy6s5vXLl96 -h4wiLMDT5e0IGbu6T8f4OaHRIQ65cWHK/CkasiZzIVtJYNj2SRYdRRgJyuON0XwD -8pBBgSzk3ayqUrBm3c1UOjBE5TIdNFzRPrLpN8DoN9zltLwzNhE95n2Ap6/s6/Sp -5lJwM1kZo1AY6bdJqT2UlaTqapvjpDzC+ohChoFBxY6LsYp5eCEcnUmQhG4mBH7h -D74uRJqSMk91UzilEz6Vm4SGST/pCSgbjCHLpVL9B0B0gyVoEfc+ZwZyLhWXNgHO -ttGgcwBFTnBKGc7IGdL6 -=ff/R ------END PGP SIGNATURE----- diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index 5e5352c..0000000 --- a/a/2.hdr +++ /dev/null @@ -1 +0,0 @@ -Content-Type: application/pgp-signature; name="signature.asc" diff --git a/a/content_digest b/N1/content_digest index 176e47a..b67fab7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,17 +4,11 @@ "ref\01473145976.731.20.camel@schinagl.nl\0" "ref\020160906195149.GJ9040@lukather\0" "ref\01473411668.731.75.camel@schinagl.nl\0" - "From\0Maxime Ripard <maxime.ripard@free-electrons.com>\0" - "Subject\0Re: [PATCH 1/2] pwm: sunxi: allow the pwm to finish its pulse before disable\0" + "From\0maxime.ripard@free-electrons.com (Maxime Ripard)\0" + "Subject\0[PATCH 1/2] pwm: sunxi: allow the pwm to finish its pulse before disable\0" "Date\0Sat, 24 Sep 2016 22:25:02 +0200\0" - "To\0Olliver Schinagl <oliver@schinagl.nl>\0" - "Cc\0Alexandre Belloni <alexandre.belloni@free-electrons.com>" - Thierry Reding <thierry.reding@gmail.com> - Chen-Yu Tsai <wens@csie.org> - linux-pwm@vger.kernel.org - linux-arm-kernel@lists.infradead.org - " linux-kernel@vger.kernel.org\0" - "\01:1\0" + "To\0linux-arm-kernel@lists.infradead.org\0" + "\00:1\0" "b\0" "Hi Oliver,\n" "\n" @@ -22,19 +16,19 @@ "\n" "On Fri, Sep 09, 2016 at 11:01:08AM +0200, Olliver Schinagl wrote:\n" "> > > > > *chip, struct pwm_device *pwm)\n" - "> > > > > \302\240\tspin_lock(&sun4i_pwm->ctrl_lock);\n" - "> > > > > \302\240\tval = sun4i_pwm_readl(sun4i_pwm, PWM_CTRL_REG);\n" - "> > > > > \302\240\tval &= ~BIT_CH(PWM_EN, pwm->hwpwm);\n" + "> > > > > ?\tspin_lock(&sun4i_pwm->ctrl_lock);\n" + "> > > > > ?\tval = sun4i_pwm_readl(sun4i_pwm, PWM_CTRL_REG);\n" + "> > > > > ?\tval &= ~BIT_CH(PWM_EN, pwm->hwpwm);\n" "> > > > > +\tsun4i_pwm_writel(sun4i_pwm, val, PWM_CTRL_REG);\n" "> > > > > +\tspin_unlock(&sun4i_pwm->ctrl_lock);\n" "> > > > > +\n" "> > > > > +\t/* Allow for the PWM hardware to finish its last\n" "> > > > > toggle.\n" "> > > > > The pulse\n" - "> > > > > +\t\302\240* may have just started and thus we should wait a\n" + "> > > > > +\t?* may have just started and thus we should wait a\n" "> > > > > full\n" "> > > > > period.\n" - "> > > > > +\t\302\240*/\n" + "> > > > > +\t?*/\n" "> > > > > +\tndelay(pwm_get_period(pwm));\n" "> > > > \n" "> > > > Can't that use the ready bit as well?\n" @@ -73,26 +67,13 @@ "-- \n" "Maxime Ripard, Free Electrons\n" "Embedded Linux and Kernel engineering\n" - http://free-electrons.com - "\01:2\0" - "fn\0signature.asc\0" - "b\0" - "-----BEGIN PGP SIGNATURE-----\n" - "Version: GnuPG v1\n" - "\n" - "iQIcBAEBAgAGBQJX5uEeAAoJEBx+YmzsjxAgJYsP/1iNdzFALMXDryMvt0+KTJJ2\n" - "MJ4ZJDG/GdwhwFroSzcGyygm4dKKc23Ha0OX98FlJRS8qoBEQpA9CTQPpUkWH8wp\n" - "+MNXy+Hgdqdla2PWHqRXSgiaSsetCbdlzmw1MJz+itlz5516D4kQ00pWC2VSm1BS\n" - "Dyj/a892iHoqyIxIRBLalyfFQzU2o+D0qjQ2d5K/idITKAmCX8CMr9pow1CfuCZh\n" - "QLoGGKwFNzKcyCh/OtpdlCLVX9XCY5Ft4Wepxxs9lUAFYNxpMdjTz85mXcWZ5pJm\n" - "dzE4yuoGpflO6l1/C9ehMO/2DlewmnUUdlWqZacJUNNPepNwJjOh4Fa5z3+KaDQn\n" - "KtH63zqWXbaKNUVNFH8hTN4XtG0W/NGA5gJ2D29JgdipH4iEsO6hgJy6s5vXLl96\n" - "h4wiLMDT5e0IGbu6T8f4OaHRIQ65cWHK/CkasiZzIVtJYNj2SRYdRRgJyuON0XwD\n" - "8pBBgSzk3ayqUrBm3c1UOjBE5TIdNFzRPrLpN8DoN9zltLwzNhE95n2Ap6/s6/Sp\n" - "5lJwM1kZo1AY6bdJqT2UlaTqapvjpDzC+ohChoFBxY6LsYp5eCEcnUmQhG4mBH7h\n" - "D74uRJqSMk91UzilEz6Vm4SGST/pCSgbjCHLpVL9B0B0gyVoEfc+ZwZyLhWXNgHO\n" - "ttGgcwBFTnBKGc7IGdL6\n" - "=ff/R\n" - "-----END PGP SIGNATURE-----\n" + "http://free-electrons.com\n" + "-------------- next part --------------\n" + "A non-text attachment was scrubbed...\n" + "Name: signature.asc\n" + "Type: application/pgp-signature\n" + "Size: 819 bytes\n" + "Desc: not available\n" + URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160924/cb63cb8f/attachment.sig> -357950cf2f18bb8693fc1737305d9f374d6c1d66e505ea504b7203ac57bf55d4 +cbca96e85e06bf1daf66a6ea43625b8bc1f1d7cb95d4c8554c17f6600804f314
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.