From mboxrd@z Thu Jan 1 00:00:00 1970 From: thierry.reding@gmail.com (Thierry Reding) Date: Mon, 20 Jul 2015 09:52:09 +0200 Subject: [RFC PATCH 03/15] pwm: add pwm_get_polarity helper function In-Reply-To: <1435738921-25027-4-git-send-email-boris.brezillon@free-electrons.com> References: <1435738921-25027-1-git-send-email-boris.brezillon@free-electrons.com> <1435738921-25027-4-git-send-email-boris.brezillon@free-electrons.com> Message-ID: <20150720075209.GD29614@ulmo> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Jul 01, 2015 at 10:21:49AM +0200, Boris Brezillon wrote: > Some drivers are directly accessing the ->polarity field in pwm_device. > Add an helper to retrieve the current polarity so that we can easily move > this field elsewhere (required to support atomic update). > > Signed-off-by: Boris Brezillon > --- > include/linux/pwm.h | 5 +++++ > 1 file changed, 5 insertions(+) Applied thanks. Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [RFC PATCH 03/15] pwm: add pwm_get_polarity helper function Date: Mon, 20 Jul 2015 09:52:09 +0200 Message-ID: <20150720075209.GD29614@ulmo> References: <1435738921-25027-1-git-send-email-boris.brezillon@free-electrons.com> <1435738921-25027-4-git-send-email-boris.brezillon@free-electrons.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KdquIMZPjGJQvRdI" Return-path: Content-Disposition: inline In-Reply-To: <1435738921-25027-4-git-send-email-boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Boris Brezillon Cc: linux-pwm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Mark Brown , Liam Girdwood , Bryan Wu , Richard Purdie , Jacek Anaszewski , linux-leds-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Jean-Christophe Plagniol-Villard , Tomi Valkeinen , linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Stephen Warren , Alexandre Courbot , linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Maxime Ripard , Jingoo Han , Lee Jones , Doug Anderson List-Id: linux-leds@vger.kernel.org --KdquIMZPjGJQvRdI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 01, 2015 at 10:21:49AM +0200, Boris Brezillon wrote: > Some drivers are directly accessing the ->polarity field in pwm_device. > Add an helper to retrieve the current polarity so that we can easily move > this field elsewhere (required to support atomic update). >=20 > Signed-off-by: Boris Brezillon > --- > include/linux/pwm.h | 5 +++++ > 1 file changed, 5 insertions(+) Applied thanks. Thierry --KdquIMZPjGJQvRdI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJVrKioAAoJEN0jrNd/PrOhanIP/0BUxXg7th6WFzZDcnlGFzp+ cq7cOP9ic2jyzUUPGaXTqB3k0pSnXooubXMlgWkDynsLPDzaj2qD2b3uH9iLN9dy fJhZtU2RpCoWw5271/z0pC4auHNV6YvbxTquMngXC/zaF18UPSwr7tyGapMDVQOA HH0D75i8z3Qfib/xoxYFP2lzomOny/LAO2vlSnNzku5lYpbBy2ZgCdDfSsqW4Wbi 20g9cYhMeuQSQdqas0MguM2WiSmked6dZXvSS1tu4q1XKBjLoIf7A6aXjfcbdVKZ 8aSRbIcC9nS1/X1zc9qf0BfS0SRAz8YGM/1rQ3YIrm/NqGaty4fZucEwQ38CXZJL 3HaPyocmMJ361gclukbsGcG0Cz7mVbnK6uCr4DFZuKuLhN2QENrbQL52kOGR3nP1 XLcUBxDt8Hc9tuj3HQ5xMmcu1Fva+tmjCGHonsqfjfRlROERo9u+gDZJrAO6lgtM aXWBDHPPvqraaNz97cJHAshkC/I7wkDrVosRiBtoMnejAo/4ZYVoFjH4ygun3uCA k0uS/uYPbwzmFSpGGLHy6eQ/3f11V7VuNIuNEWGmzXdogwAXckHdtXvNoTe8dR5L ooa6viN7Xx5m71MRMFNWqNBP4bSVYWr+ckUJIXcuSpV+3ncDX6/9oB4dApzJUeYn xorful0JUkCfX6icbT0i =OtfN -----END PGP SIGNATURE----- --KdquIMZPjGJQvRdI-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Date: Mon, 20 Jul 2015 07:52:09 +0000 Subject: Re: [RFC PATCH 03/15] pwm: add pwm_get_polarity helper function Message-Id: <20150720075209.GD29614@ulmo> MIME-Version: 1 Content-Type: multipart/mixed; boundary="KdquIMZPjGJQvRdI" List-Id: References: <1435738921-25027-1-git-send-email-boris.brezillon@free-electrons.com> <1435738921-25027-4-git-send-email-boris.brezillon@free-electrons.com> In-Reply-To: <1435738921-25027-4-git-send-email-boris.brezillon@free-electrons.com> To: linux-arm-kernel@lists.infradead.org --KdquIMZPjGJQvRdI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 01, 2015 at 10:21:49AM +0200, Boris Brezillon wrote: > Some drivers are directly accessing the ->polarity field in pwm_device. > Add an helper to retrieve the current polarity so that we can easily move > this field elsewhere (required to support atomic update). >=20 > Signed-off-by: Boris Brezillon > --- > include/linux/pwm.h | 5 +++++ > 1 file changed, 5 insertions(+) Applied thanks. Thierry --KdquIMZPjGJQvRdI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJVrKioAAoJEN0jrNd/PrOhanIP/0BUxXg7th6WFzZDcnlGFzp+ cq7cOP9ic2jyzUUPGaXTqB3k0pSnXooubXMlgWkDynsLPDzaj2qD2b3uH9iLN9dy fJhZtU2RpCoWw5271/z0pC4auHNV6YvbxTquMngXC/zaF18UPSwr7tyGapMDVQOA HH0D75i8z3Qfib/xoxYFP2lzomOny/LAO2vlSnNzku5lYpbBy2ZgCdDfSsqW4Wbi 20g9cYhMeuQSQdqas0MguM2WiSmked6dZXvSS1tu4q1XKBjLoIf7A6aXjfcbdVKZ 8aSRbIcC9nS1/X1zc9qf0BfS0SRAz8YGM/1rQ3YIrm/NqGaty4fZucEwQ38CXZJL 3HaPyocmMJ361gclukbsGcG0Cz7mVbnK6uCr4DFZuKuLhN2QENrbQL52kOGR3nP1 XLcUBxDt8Hc9tuj3HQ5xMmcu1Fva+tmjCGHonsqfjfRlROERo9u+gDZJrAO6lgtM aXWBDHPPvqraaNz97cJHAshkC/I7wkDrVosRiBtoMnejAo/4ZYVoFjH4ygun3uCA k0uS/uYPbwzmFSpGGLHy6eQ/3f11V7VuNIuNEWGmzXdogwAXckHdtXvNoTe8dR5L ooa6viN7Xx5m71MRMFNWqNBP4bSVYWr+ckUJIXcuSpV+3ncDX6/9oB4dApzJUeYn xorful0JUkCfX6icbT0i =OtfN -----END PGP SIGNATURE----- --KdquIMZPjGJQvRdI--