mbox series

[v2,0/4] media: sunxi-cir: Cleanup and power management

Message ID 20210118060048.22267-1-samuel@sholland.org (mailing list archive)
Headers show
Series media: sunxi-cir: Cleanup and power management | expand

Message

Samuel Holland Jan. 18, 2021, 6 a.m. UTC
This series cleans up some dead code in the sunxi-cir driver and adds
system power management hooks.

---
Changes from v1:
  - Unregister the RC device first thing in sunxi_ir_remove() [3]

Samuel Holland (4):
  media: sunxi-cir: Clean up dead register writes
  media: sunxi-cir: Remove unnecessary spinlock
  media: sunxi-cir: Factor out hardware initialization
  media: sunxi-cir: Implement suspend/resume/shutdown callbacks

 drivers/media/rc/sunxi-cir.c | 169 ++++++++++++++++++++---------------
 1 file changed, 95 insertions(+), 74 deletions(-)

Comments

Samuel Holland Jan. 18, 2021, 6:04 a.m. UTC | #1
On 1/18/21 12:00 AM, Samuel Holland wrote:
> This series cleans up some dead code in the sunxi-cir driver and adds
> system power management hooks.
> 
> ---
> Changes from v1:
>   - Unregister the RC device first thing in sunxi_ir_remove() [3]

I forgot to add:

Acked-by: Maxime Ripard <mripard@kernel.org>

from v1.

> Samuel Holland (4):
>   media: sunxi-cir: Clean up dead register writes
>   media: sunxi-cir: Remove unnecessary spinlock
>   media: sunxi-cir: Factor out hardware initialization
>   media: sunxi-cir: Implement suspend/resume/shutdown callbacks
> 
>  drivers/media/rc/sunxi-cir.c | 169 ++++++++++++++++++++---------------
>  1 file changed, 95 insertions(+), 74 deletions(-)
>
Sean Young Jan. 18, 2021, 5:59 p.m. UTC | #2
On Mon, Jan 18, 2021 at 12:00:44AM -0600, Samuel Holland wrote:
> This series cleans up some dead code in the sunxi-cir driver and adds
> system power management hooks.
> 
> ---
> Changes from v1:
>   - Unregister the RC device first thing in sunxi_ir_remove() [3]
> 

Thanks. I've tested it on my Cubieboard1 and everything looks fine.

I've applied it to my tree.

Sean

> Samuel Holland (4):
>   media: sunxi-cir: Clean up dead register writes
>   media: sunxi-cir: Remove unnecessary spinlock
>   media: sunxi-cir: Factor out hardware initialization
>   media: sunxi-cir: Implement suspend/resume/shutdown callbacks
> 
>  drivers/media/rc/sunxi-cir.c | 169 ++++++++++++++++++++---------------
>  1 file changed, 95 insertions(+), 74 deletions(-)
> 
> -- 
> 2.26.2