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: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Sean Young 2018-07-17 17:33:05 -04:00 committed by Mauro Carvalho Chehab
parent 5f108da55c
commit c5f14af0d8
12 changed files with 12 additions and 12 deletions

View File

@ -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,
} }
}; };

View File

@ -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,
} }
}; };

View File

@ -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,
} }
}; };

View File

@ -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,
} }
}; };

View File

@ -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,
} }
}; };

View File

@ -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,
} }
}; };

View File

@ -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,
} }
}; };

View File

@ -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,
} }
}; };

View File

@ -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,
} }
}; };

View File

@ -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,
} }
}; };

View File

@ -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,
} }
}; };

View File

@ -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,
} }
}; };