Changeset 21615


Ignore:
Timestamp:
2010-05-29T02:06:59+02:00 (7 years ago)
Author:
lars
Message:

[xburst] jzcodec: Enable support for S8 format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/xburst/patches-2.6.34/060-jzcodec.patch

    r21438 r21615  
    1 From 3ff79323c50cc67df122c8f02670ff5483ea7ebc Mon Sep 17 00:00:00 2001 
     1From 075550fa667fca846d1217f649438df5cb4f9529 Mon Sep 17 00:00:00 2001 
    22From: Lars-Peter Clausen <lars@metafoo.de> 
    3 Date: Sat, 24 Apr 2010 12:32:57 +0200 
     3Date: Fri, 28 May 2010 19:53:05 +0200 
    44Subject: [PATCH] Add jz4740 codec driver 
    55 
     
    5353diff --git a/sound/soc/codecs/jzcodec.c b/sound/soc/codecs/jzcodec.c 
    5454new file mode 100644 
    55 index 0000000..f960d46 
     55index 0000000..91720fa 
    5656--- /dev/null 
    5757+++ b/sound/soc/codecs/jzcodec.c 
     
    326326+               .channels_min = 2, 
    327327+               .channels_max = 2, 
    328 +               .rates = SNDRV_PCM_RATE_8000_44100, 
    329 +               .formats = SNDRV_PCM_FMTBIT_S16_LE, 
     328+               .rates = SNDRV_PCM_RATE_8000_48000, 
     329+               .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8, 
    330330+       }, 
    331331+       .capture = { 
     
    333333+               .channels_min = 2, 
    334334+               .channels_max = 2, 
    335 +               .rates = SNDRV_PCM_RATE_8000_44100, 
    336 +               .formats = SNDRV_PCM_FMTBIT_S16_LE, 
     335+               .rates = SNDRV_PCM_RATE_8000_48000, 
     336+               .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8, 
    337337+       }, 
    338338+       .ops = &jz_codec_dai_ops, 
Note: See TracChangeset for help on using the changeset viewer.