diff options
| -rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 9c6bfb49d915..d4448a0624d9 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
| @@ -425,6 +425,14 @@ static struct regulator_init_data sdp4430_vusim = { | |||
| 425 | }, | 425 | }, |
| 426 | }; | 426 | }; |
| 427 | 427 | ||
| 428 | static struct twl4030_codec_data twl6040_codec = { | ||
| 429 | /* single-step ramp for headset and handsfree */ | ||
| 430 | .hs_left_step = 0x0f, | ||
| 431 | .hs_right_step = 0x0f, | ||
| 432 | .hf_left_step = 0x1d, | ||
| 433 | .hf_right_step = 0x1d, | ||
| 434 | }; | ||
| 435 | |||
| 428 | static struct twl4030_vibra_data twl6040_vibra = { | 436 | static struct twl4030_vibra_data twl6040_vibra = { |
| 429 | .vibldrv_res = 8, | 437 | .vibldrv_res = 8, |
| 430 | .vibrdrv_res = 3, | 438 | .vibrdrv_res = 3, |
| @@ -435,7 +443,7 @@ static struct twl4030_vibra_data twl6040_vibra = { | |||
| 435 | }; | 443 | }; |
| 436 | 444 | ||
| 437 | static struct twl4030_audio_data twl6040_audio = { | 445 | static struct twl4030_audio_data twl6040_audio = { |
| 438 | .codec = NULL, | 446 | .codec = &twl6040_codec, |
| 439 | .vibra = &twl6040_vibra, | 447 | .vibra = &twl6040_vibra, |
| 440 | .audpwron_gpio = 127, | 448 | .audpwron_gpio = 127, |
| 441 | .naudint_irq = OMAP44XX_IRQ_SYS_2N, | 449 | .naudint_irq = OMAP44XX_IRQ_SYS_2N, |
