Date:2011-10-05 11:14:30 (12 years 5 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
3030#include <linux/input.h>
3131#include <linux/gpio_keys.h>
3232
33#include <media/radio-rda5807.h>
34
3335#include <asm/cpu.h>
3436#include <asm/bootinfo.h>
3537#include <asm/mipsregs.h>
...... 
406408    .rtc_rate = 32768,
407409};
408410
411static 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
409416static struct i2c_board_info a320_i2c_info[] __initdata = {
410417    {
411        .type = "radio-rda5807",
412        .addr = 0x11,
418        .type = "radio-rda5807",
419        .addr = RDA5807_I2C_ADDR,
420        .platform_data = &a320_rda5807_pdata,
413421    }
414422};
415423

Archive Download the corresponding diff file



interactive