Date: | 2011-10-05 11:14:30 (12 years 2 months ago) |
---|---|
Author: | Maarten ter Huurne |
Commit: | 40201cdb7b2d9922e3ad759bfb4f150fe5733f9b |
Message: | MIPS: A320: Specify platform data for RDA5807. Platform data is now required by the driver. Before introducing platform data, the analog audio output was not enabled by the driver. |
Files: |
arch/mips/jz4740/board-a320.c (2 diffs) |
Change Details
arch/mips/jz4740/board-a320.c | ||
---|---|---|
30 | 30 | #include <linux/input.h> |
31 | 31 | #include <linux/gpio_keys.h> |
32 | 32 | |
33 | #include <media/radio-rda5807.h> | |
34 | ||
33 | 35 | #include <asm/cpu.h> |
34 | 36 | #include <asm/bootinfo.h> |
35 | 37 | #include <asm/mipsregs.h> |
... | ... | |
406 | 408 | .rtc_rate = 32768, |
407 | 409 | }; |
408 | 410 | |
411 | static struct rda5807_platform_data a320_rda5807_pdata = { | |
412 | .input_flags = RDA5807_INPUT_LNA_WC_25 | RDA5807_LNA_PORT_P, | |
413 | .output_flags = RDA5807_OUTPUT_AUDIO_ANALOG, | |
414 | }; | |
415 | ||
409 | 416 | static struct i2c_board_info a320_i2c_info[] __initdata = { |
410 | 417 | { |
411 | .type = "radio-rda5807", | |
412 | .addr = 0x11, | |
418 | .type = "radio-rda5807", | |
419 | .addr = RDA5807_I2C_ADDR, | |
420 | .platform_data = &a320_rda5807_pdata, | |
413 | 421 | } |
414 | 422 | }; |
415 | 423 |
Branches:
ben-wpan
ben-wpan-stefan
5396a9238205f20f811ea57898980d3ca82df0b6
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9