mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-09-22 14:44:23 +00:00
siihdmi: more uniform naming
SIIHDMI_INFO_FRAME_<type> is more fitting with the rest of the code
This commit is contained in:
@@ -438,7 +438,7 @@ static int siihdmi_set_audio_info_frame(struct siihdmi_tx *tx)
|
||||
int ret;
|
||||
struct siihdmi_audio_info_frame packet = {
|
||||
.header = {
|
||||
.info_frame = INFO_FRAME_BUFFER_AUDIO,
|
||||
.info_frame = SIIHDMI_INFO_FRAME_AUDIO,
|
||||
.repeat = false,
|
||||
.enable = tx->enable_audio,
|
||||
},
|
||||
@@ -481,7 +481,7 @@ static int siihdmi_set_spd_info_frame(struct siihdmi_tx *tx)
|
||||
int ret;
|
||||
struct siihdmi_spd_info_frame packet = {
|
||||
.header = {
|
||||
.info_frame = INFO_FRAME_BUFFER_SPD_ACP,
|
||||
.info_frame = SIIHDMI_INFO_FRAME_SPD_ACP,
|
||||
.repeat = false,
|
||||
.enable = true,
|
||||
},
|
||||
|
||||
@@ -275,13 +275,13 @@
|
||||
#define SIIHDMI_AVI_INFO_FRAME_OFFSET (0x03)
|
||||
|
||||
|
||||
enum sii_info_frame_type {
|
||||
INFO_FRAME_BUFFER_NONE,
|
||||
INFO_FRAME_BUFFER_SPD_ACP,
|
||||
INFO_FRAME_BUFFER_AUDIO,
|
||||
INFO_FRAME_BUFFER_MPEG_GBD,
|
||||
INFO_FRAME_BUFFER_GENERIC1_ISRC1,
|
||||
INFO_FRAME_BUFFER_GENERIC2_ISRC2,
|
||||
enum siihdmi_info_frame_type {
|
||||
SIIHDMI_INFO_FRAME_NONE,
|
||||
SIIHDMI_INFO_FRAME_SPD_ACP,
|
||||
SIIHDMI_INFO_FRAME_AUDIO,
|
||||
SIIHDMI_INFO_FRAME_MPEG_GBD,
|
||||
SIIHDMI_INFO_FRAME_GENERIC1_ISRC1,
|
||||
SIIHDMI_INFO_FRAME_GENERIC2_ISRC2,
|
||||
};
|
||||
|
||||
struct __packed info_frame_buffer_header {
|
||||
|
||||
Reference in New Issue
Block a user