diff options
Diffstat (limited to 'drivers/media/dvb/frontends/tda1004x.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda1004x.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/dvb/frontends/tda1004x.c b/drivers/media/dvb/frontends/tda1004x.c index c6ae5bfae5b1..6c237fb2b82a 100644 --- a/drivers/media/dvb/frontends/tda1004x.c +++ b/drivers/media/dvb/frontends/tda1004x.c | |||
@@ -289,10 +289,10 @@ static int tda10046h_set_bandwidth(struct tda1004x_state *state, | |||
289 | case BANDWIDTH_6_MHZ: | 289 | case BANDWIDTH_6_MHZ: |
290 | if (tda10046_clk53m) | 290 | if (tda10046_clk53m) |
291 | tda1004x_write_buf(state, TDA10046H_TIME_WREF1, bandwidth_6mhz_53M, | 291 | tda1004x_write_buf(state, TDA10046H_TIME_WREF1, bandwidth_6mhz_53M, |
292 | sizeof(bandwidth_6mhz_53M)); | 292 | sizeof(bandwidth_6mhz_53M)); |
293 | else | 293 | else |
294 | tda1004x_write_buf(state, TDA10046H_TIME_WREF1, bandwidth_6mhz_48M, | 294 | tda1004x_write_buf(state, TDA10046H_TIME_WREF1, bandwidth_6mhz_48M, |
295 | sizeof(bandwidth_6mhz_48M)); | 295 | sizeof(bandwidth_6mhz_48M)); |
296 | if (state->config->if_freq == TDA10046_FREQ_045) { | 296 | if (state->config->if_freq == TDA10046_FREQ_045) { |
297 | tda1004x_write_byteI(state, TDA10046H_FREQ_PHY2_MSB, 0x0a); | 297 | tda1004x_write_byteI(state, TDA10046H_FREQ_PHY2_MSB, 0x0a); |
298 | tda1004x_write_byteI(state, TDA10046H_FREQ_PHY2_LSB, 0xab); | 298 | tda1004x_write_byteI(state, TDA10046H_FREQ_PHY2_LSB, 0xab); |
@@ -302,10 +302,10 @@ static int tda10046h_set_bandwidth(struct tda1004x_state *state, | |||
302 | case BANDWIDTH_7_MHZ: | 302 | case BANDWIDTH_7_MHZ: |
303 | if (tda10046_clk53m) | 303 | if (tda10046_clk53m) |
304 | tda1004x_write_buf(state, TDA10046H_TIME_WREF1, bandwidth_7mhz_53M, | 304 | tda1004x_write_buf(state, TDA10046H_TIME_WREF1, bandwidth_7mhz_53M, |
305 | sizeof(bandwidth_7mhz_53M)); | 305 | sizeof(bandwidth_7mhz_53M)); |
306 | else | 306 | else |
307 | tda1004x_write_buf(state, TDA10046H_TIME_WREF1, bandwidth_7mhz_48M, | 307 | tda1004x_write_buf(state, TDA10046H_TIME_WREF1, bandwidth_7mhz_48M, |
308 | sizeof(bandwidth_7mhz_48M)); | 308 | sizeof(bandwidth_7mhz_48M)); |
309 | if (state->config->if_freq == TDA10046_FREQ_045) { | 309 | if (state->config->if_freq == TDA10046_FREQ_045) { |
310 | tda1004x_write_byteI(state, TDA10046H_FREQ_PHY2_MSB, 0x0c); | 310 | tda1004x_write_byteI(state, TDA10046H_FREQ_PHY2_MSB, 0x0c); |
311 | tda1004x_write_byteI(state, TDA10046H_FREQ_PHY2_LSB, 0x00); | 311 | tda1004x_write_byteI(state, TDA10046H_FREQ_PHY2_LSB, 0x00); |
@@ -315,10 +315,10 @@ static int tda10046h_set_bandwidth(struct tda1004x_state *state, | |||
315 | case BANDWIDTH_8_MHZ: | 315 | case BANDWIDTH_8_MHZ: |
316 | if (tda10046_clk53m) | 316 | if (tda10046_clk53m) |
317 | tda1004x_write_buf(state, TDA10046H_TIME_WREF1, bandwidth_8mhz_53M, | 317 | tda1004x_write_buf(state, TDA10046H_TIME_WREF1, bandwidth_8mhz_53M, |
318 | sizeof(bandwidth_8mhz_53M)); | 318 | sizeof(bandwidth_8mhz_53M)); |
319 | else | 319 | else |
320 | tda1004x_write_buf(state, TDA10046H_TIME_WREF1, bandwidth_8mhz_48M, | 320 | tda1004x_write_buf(state, TDA10046H_TIME_WREF1, bandwidth_8mhz_48M, |
321 | sizeof(bandwidth_8mhz_48M)); | 321 | sizeof(bandwidth_8mhz_48M)); |
322 | if (state->config->if_freq == TDA10046_FREQ_045) { | 322 | if (state->config->if_freq == TDA10046_FREQ_045) { |
323 | tda1004x_write_byteI(state, TDA10046H_FREQ_PHY2_MSB, 0x0d); | 323 | tda1004x_write_byteI(state, TDA10046H_FREQ_PHY2_MSB, 0x0d); |
324 | tda1004x_write_byteI(state, TDA10046H_FREQ_PHY2_LSB, 0x55); | 324 | tda1004x_write_byteI(state, TDA10046H_FREQ_PHY2_LSB, 0x55); |