Commit 8418366d authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Mauro Carvalho Chehab

[media] drxk: Use the #define instead of hardcoded values

Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 89040136
...@@ -921,7 +921,7 @@ static int GetDeviceCapabilities(struct drxk_state *state) ...@@ -921,7 +921,7 @@ static int GetDeviceCapabilities(struct drxk_state *state)
status = write16(state, SCU_RAM_GPIO__A, SCU_RAM_GPIO_HW_LOCK_IND_DISABLE); status = write16(state, SCU_RAM_GPIO__A, SCU_RAM_GPIO_HW_LOCK_IND_DISABLE);
if (status < 0) if (status < 0)
goto error; goto error;
status = write16(state, SIO_TOP_COMM_KEY__A, 0xFABA); status = write16(state, SIO_TOP_COMM_KEY__A, SIO_TOP_COMM_KEY_KEY);
if (status < 0) if (status < 0)
goto error; goto error;
status = read16(state, SIO_PDR_OHW_CFG__A, &sioPdrOhwCfg); status = read16(state, SIO_PDR_OHW_CFG__A, &sioPdrOhwCfg);
...@@ -1217,7 +1217,7 @@ static int MPEGTSConfigurePins(struct drxk_state *state, bool mpegEnable) ...@@ -1217,7 +1217,7 @@ static int MPEGTSConfigurePins(struct drxk_state *state, bool mpegEnable)
goto error; goto error;
/* MPEG TS pad configuration */ /* MPEG TS pad configuration */
status = write16(state, SIO_TOP_COMM_KEY__A, 0xFABA); status = write16(state, SIO_TOP_COMM_KEY__A, SIO_TOP_COMM_KEY_KEY);
if (status < 0) if (status < 0)
goto error; goto error;
......
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