Commit c5f14af0 authored by Sean Young's avatar Sean Young Committed by Mauro Carvalho Chehab

media: rc: nec keymaps should specify the nec variant they use

The rc_proto field should list the exact variant used by the remote. This
does not change the decoder used, but helps with using keymaps for
transmit purposes.
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 5f108da5
...@@ -115,7 +115,7 @@ static struct rc_map_list behold_map = { ...@@ -115,7 +115,7 @@ static struct rc_map_list behold_map = {
.map = { .map = {
.scan = behold, .scan = behold,
.size = ARRAY_SIZE(behold), .size = ARRAY_SIZE(behold),
.rc_proto = RC_PROTO_NEC, .rc_proto = RC_PROTO_NECX,
.name = RC_MAP_BEHOLD, .name = RC_MAP_BEHOLD,
} }
}; };
......
...@@ -60,7 +60,7 @@ static struct rc_map_list delock_61959_map = { ...@@ -60,7 +60,7 @@ static struct rc_map_list delock_61959_map = {
.map = { .map = {
.scan = delock_61959, .scan = delock_61959,
.size = ARRAY_SIZE(delock_61959), .size = ARRAY_SIZE(delock_61959),
.rc_proto = RC_PROTO_NEC, .rc_proto = RC_PROTO_NECX,
.name = RC_MAP_DELOCK_61959, .name = RC_MAP_DELOCK_61959,
} }
}; };
......
...@@ -59,7 +59,7 @@ static struct rc_map_list imon_rsc_map = { ...@@ -59,7 +59,7 @@ static struct rc_map_list imon_rsc_map = {
.map = { .map = {
.scan = imon_rsc, .scan = imon_rsc,
.size = ARRAY_SIZE(imon_rsc), .size = ARRAY_SIZE(imon_rsc),
.rc_proto = RC_PROTO_NEC, .rc_proto = RC_PROTO_NECX,
.name = RC_MAP_IMON_RSC, .name = RC_MAP_IMON_RSC,
} }
}; };
......
...@@ -73,7 +73,7 @@ static struct rc_map_list it913x_v1_map = { ...@@ -73,7 +73,7 @@ static struct rc_map_list it913x_v1_map = {
.map = { .map = {
.scan = it913x_v1_rc, .scan = it913x_v1_rc,
.size = ARRAY_SIZE(it913x_v1_rc), .size = ARRAY_SIZE(it913x_v1_rc),
.rc_proto = RC_PROTO_NEC, .rc_proto = RC_PROTO_NECX,
.name = RC_MAP_IT913X_V1, .name = RC_MAP_IT913X_V1,
} }
}; };
......
...@@ -72,7 +72,7 @@ static struct rc_map_list it913x_v2_map = { ...@@ -72,7 +72,7 @@ static struct rc_map_list it913x_v2_map = {
.map = { .map = {
.scan = it913x_v2_rc, .scan = it913x_v2_rc,
.size = ARRAY_SIZE(it913x_v2_rc), .size = ARRAY_SIZE(it913x_v2_rc),
.rc_proto = RC_PROTO_NEC, .rc_proto = RC_PROTO_NECX,
.name = RC_MAP_IT913X_V2, .name = RC_MAP_IT913X_V2,
} }
}; };
......
...@@ -64,7 +64,7 @@ static struct rc_map_list msi_digivox_iii_map = { ...@@ -64,7 +64,7 @@ static struct rc_map_list msi_digivox_iii_map = {
.map = { .map = {
.scan = msi_digivox_iii, .scan = msi_digivox_iii,
.size = ARRAY_SIZE(msi_digivox_iii), .size = ARRAY_SIZE(msi_digivox_iii),
.rc_proto = RC_PROTO_NEC, .rc_proto = RC_PROTO_NECX,
.name = RC_MAP_MSI_DIGIVOX_III, .name = RC_MAP_MSI_DIGIVOX_III,
} }
}; };
......
...@@ -51,7 +51,7 @@ static struct rc_map_list pixelview_map = { ...@@ -51,7 +51,7 @@ static struct rc_map_list pixelview_map = {
.map = { .map = {
.scan = pixelview_002t, .scan = pixelview_002t,
.size = ARRAY_SIZE(pixelview_002t), .size = ARRAY_SIZE(pixelview_002t),
.rc_proto = RC_PROTO_NEC, .rc_proto = RC_PROTO_NECX,
.name = RC_MAP_PIXELVIEW_002T, .name = RC_MAP_PIXELVIEW_002T,
} }
}; };
......
...@@ -57,7 +57,7 @@ static struct rc_map_list pixelview_map = { ...@@ -57,7 +57,7 @@ static struct rc_map_list pixelview_map = {
.map = { .map = {
.scan = pixelview_mk12, .scan = pixelview_mk12,
.size = ARRAY_SIZE(pixelview_mk12), .size = ARRAY_SIZE(pixelview_mk12),
.rc_proto = RC_PROTO_NEC, .rc_proto = RC_PROTO_NECX,
.name = RC_MAP_PIXELVIEW_MK12, .name = RC_MAP_PIXELVIEW_MK12,
} }
}; };
......
...@@ -64,7 +64,7 @@ static struct rc_map_list reddo_map = { ...@@ -64,7 +64,7 @@ static struct rc_map_list reddo_map = {
.map = { .map = {
.scan = reddo, .scan = reddo,
.size = ARRAY_SIZE(reddo), .size = ARRAY_SIZE(reddo),
.rc_proto = RC_PROTO_NEC, .rc_proto = RC_PROTO_NECX,
.name = RC_MAP_REDDO, .name = RC_MAP_REDDO,
} }
}; };
......
...@@ -58,7 +58,7 @@ static struct rc_map_list terratec_slim_map = { ...@@ -58,7 +58,7 @@ static struct rc_map_list terratec_slim_map = {
.map = { .map = {
.scan = terratec_slim, .scan = terratec_slim,
.size = ARRAY_SIZE(terratec_slim), .size = ARRAY_SIZE(terratec_slim),
.rc_proto = RC_PROTO_NEC, .rc_proto = RC_PROTO_NECX,
.name = RC_MAP_TERRATEC_SLIM, .name = RC_MAP_TERRATEC_SLIM,
} }
}; };
......
...@@ -77,7 +77,7 @@ static struct rc_map_list tivo_map = { ...@@ -77,7 +77,7 @@ static struct rc_map_list tivo_map = {
.map = { .map = {
.scan = tivo, .scan = tivo,
.size = ARRAY_SIZE(tivo), .size = ARRAY_SIZE(tivo),
.rc_proto = RC_PROTO_NEC, .rc_proto = RC_PROTO_NEC32,
.name = RC_MAP_TIVO, .name = RC_MAP_TIVO,
} }
}; };
......
...@@ -64,7 +64,7 @@ static struct rc_map_list total_media_in_hand_map = { ...@@ -64,7 +64,7 @@ static struct rc_map_list total_media_in_hand_map = {
.map = { .map = {
.scan = total_media_in_hand, .scan = total_media_in_hand,
.size = ARRAY_SIZE(total_media_in_hand), .size = ARRAY_SIZE(total_media_in_hand),
.rc_proto = RC_PROTO_NEC, .rc_proto = RC_PROTO_NECX,
.name = RC_MAP_TOTAL_MEDIA_IN_HAND, .name = RC_MAP_TOTAL_MEDIA_IN_HAND,
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment