[media] rc-core: rename dev->scanmask to dev->scancode_mask
We already have dev->scancode_filter and dev->scancode_wakeup_filter so rename dev->scanmask to dev->scancode_mask for consistency. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
c5540fbb9d
commit
9d2f1d3cde
@@ -285,8 +285,8 @@ static unsigned int ir_establish_scancode(struct rc_dev *dev,
|
||||
* IR tables from other remotes. So, we support specifying a mask to
|
||||
* indicate the valid bits of the scancodes.
|
||||
*/
|
||||
if (dev->scanmask)
|
||||
scancode &= dev->scanmask;
|
||||
if (dev->scancode_mask)
|
||||
scancode &= dev->scancode_mask;
|
||||
|
||||
/* First check if we already have a mapping for this ir command */
|
||||
for (i = 0; i < rc_map->len; i++) {
|
||||
|
Reference in New Issue
Block a user