lkml.org 
[lkml]   [2011]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5/8] ASoC: twl6040: Fix the number of channels for vibra
    Date
    Only mono audio can be used for vibra (DL4 channel).

    Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
    ---
    sound/soc/codecs/twl6040.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
    index 8eecf4a..a386cb3 100644
    --- a/sound/soc/codecs/twl6040.c
    +++ b/sound/soc/codecs/twl6040.c
    @@ -1548,8 +1548,8 @@ static struct snd_soc_dai_driver twl6040_dai[] = {
    .name = "twl6040-vib",
    .playback = {
    .stream_name = "Vibra Playback",
    - .channels_min = 2,
    - .channels_max = 2,
    + .channels_min = 1,
    + .channels_max = 1,
    .rates = SNDRV_PCM_RATE_CONTINUOUS,
    .formats = TWL6040_FORMATS,
    },
    --
    1.7.6.1


    \
     
     \ /
      Last update: 2011-09-15 15:03    [W:0.020 / U:1.968 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site