Skip to content

drivers/media/rc/ati_remote.c tweaks

George Spelvin linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ati_remote: Check the checksumdrivers/media/rc/ati_remote.c+5 -40 replies
2/10ati_remote: Shrink ati_remote_tbl structuredrivers/media/rc/ati_remote.c+4 -40 replies
3/10ati_remote: Delete superfluous input_sync()drivers/media/rc/ati_remote.c+0 -10 replies
4/10ati_remote: Generalize KIND_ACCEL to accept diagonalsdrivers/media/rc/ati_remote.c+23 -480 replies
5/10ati_remote: Shrink the ati_remote_tbl even moredrivers/media/rc/ati_remote.c+35 -340 replies
6/10ati_remote: Merge some duplicate codedrivers/media/rc/ati_remote.c+10 -110 replies
7/10ati_remote: Use non-alomic __set_bitdrivers/media/rc/ati_remote.c+1 -10 replies
8/10ati_remote: Sort buttons in top-to-bottom orderdrivers/media/rc/keymaps/rc-ati-x10.c+34 -230 replies
9/10ati_remote: Add comments to keycode tabledrivers/media/rc/keymaps/rc-ati-x10.c+23 -100 replies
10/10ati_remote: Better default keycodesdrivers/media/rc/keymaps/rc-ati-x10.c+20 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/10] drivers/media/rc/ati_remote.c tweaks

Here are a bunch of cleanups to the ati_remote driver that have been sitting in my tree since 2011, and I'm hoping to push upstream. They work fine on my v1 ATI Remote Wonder.

Patch 4/10 is the nicest in terms of code deletion, but the others shrink the driver, too.

There are some that I'm not sure if they're wanted:

6/10 is the most questionable code rearrangement.
Cleaner or messier? Feedback welcome.

Patches 8 and 9 are just prettying up the keymap table.

Patch 10 fixes some of the sillier default key assignments. I'm pretty sure this would constitute a kernel regression and is not okay, but it's another local change I made, and I might as well see what people think. Feel free to forget about this one.