mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[media] rc: rc6 decoder should report protocol correctly
When reporting decoded protocol use the enum rather than the bitmap. Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
6db0168821
commit
e998c92d6c
1 changed files with 2 additions and 2 deletions
|
|
@ -248,7 +248,7 @@ again:
|
|||
toggle = 0;
|
||||
break;
|
||||
case 24:
|
||||
protocol = RC_BIT_RC6_6A_24;
|
||||
protocol = RC_TYPE_RC6_6A_24;
|
||||
toggle = 0;
|
||||
break;
|
||||
case 32:
|
||||
|
|
@ -257,7 +257,7 @@ again:
|
|||
toggle = !!(scancode & RC6_6A_MCE_TOGGLE_MASK);
|
||||
scancode &= ~RC6_6A_MCE_TOGGLE_MASK;
|
||||
} else {
|
||||
protocol = RC_BIT_RC6_6A_32;
|
||||
protocol = RC_TYPE_RC6_6A_32;
|
||||
toggle = 0;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue