Make the base offset hexadecimal to simplify debugging since the base addresses are hex too.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -84,15 +84,15 @@ struct media_device_info { · 83 unmodified lines | |||
| 84 | * It is a responsibility of the master/bridge drivers to create links | 84 | * It is a responsibility of the master/bridge drivers to create links |
| 85 | * for MEDIA_ENT_F_IF_VID_DECODER and MEDIA_ENT_F_IF_AUD_DECODER. | 85 | * for MEDIA_ENT_F_IF_VID_DECODER and MEDIA_ENT_F_IF_AUD_DECODER. |
| 86 | */ | 86 | */ |
| 87 | #define MEDIA_ENT_F_IF_VID_DECODER (MEDIA_ENT_F_BASE + 2001) | 87 | #define MEDIA_ENT_F_IF_VID_DECODER (MEDIA_ENT_F_BASE + 0x02001) |
| 88 | #define MEDIA_ENT_F_IF_AUD_DECODER (MEDIA_ENT_F_BASE + 2002) | 88 | #define MEDIA_ENT_F_IF_AUD_DECODER (MEDIA_ENT_F_BASE + 0x02002) |
| 89 | 89 | ||
| 90 | /* | 90 | /* |
| 91 | * Audio Entity Functions | 91 | * Audio Entity Functions |
| 92 | */ | 92 | */ |
| 93 | #define MEDIA_ENT_F_AUDIO_CAPTURE (MEDIA_ENT_F_BASE + 3000) | 93 | #define MEDIA_ENT_F_AUDIO_CAPTURE (MEDIA_ENT_F_BASE + 0x03000) |
| 94 | #define MEDIA_ENT_F_AUDIO_PLAYBACK (MEDIA_ENT_F_BASE + 3001) | 94 | #define MEDIA_ENT_F_AUDIO_PLAYBACK (MEDIA_ENT_F_BASE + 0x03001) |
| 95 | #define MEDIA_ENT_F_AUDIO_MIXER (MEDIA_ENT_F_BASE + 3002) | 95 | #define MEDIA_ENT_F_AUDIO_MIXER (MEDIA_ENT_F_BASE + 0x03002) |
| 96 | 96 | ||
| 97 | /* | 97 | /* |
| 98 | * Connectors | 98 | * Connectors |