~ubuntu-branches/ubuntu/karmic/linux-ports/karmic

« back to all changes in this revision

Viewing changes to sound/soc/s3c24xx/s3c2412-i2s.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich, Luke Yelavich, Michael Casadevall, Tim Gardner, Upstream Kernel Changes
  • Date: 2009-05-06 18:18:55 UTC
  • Revision ID: james.westby@ubuntu.com-20090506181855-t00baeevpnvd9o7a
Tags: 2.6.30-1.1
[ Luke Yelavich ]
* initial release for karmic
* SAUCE: rebase-ports - adjust for the karmic ports kernel
* SAUCE: rebase-ports - also remove abi dirs/files on rebase
* Update configs after rebase against mainline Jaunty tree
* [Config] Disable CONFIG_BLK_DEV_UB and CONFIG_USB_LIBUSUAL as per
  mainline jaunty
* forward-port patch to drbd for powerpc compilation
* [Config] disable CONFIG_LENOVO_SL_LAPTOP for i386 due to FTBFS
* add .o files found in arch/powerpc/lib to all powerpc kernel header
  packages
* [Config] enable CONFIG_DRM_I915_KMS for i386 as per karmic mainline

[ Michael Casadevall ]

* Disable kgdb on sparc64
* [sparc] [Config] Disable GPIO LEDS
* [ia64] Rename -ia64-generic to -ia64 in line with other architectures
* Correct kernel image path for sparc builds
* [hppa] Fix HPPA config files to build modules for all udebian

Rebase on top of karmic mainline 2.6.30-1.1

[ Tim Gardner ]

* [Config] armel: disable staging drivers, fixes FTBS
* [Config] armel imx51: Disable CONFIG_MTD_NAND_MXC, fixes FTBS

[ Upstream Kernel Changes ]

* mpt2sas: Change reset_type enum to avoid namespace collision.
  Submitted upstream.

* Initial release after rebasing against v2.6.30-rc3

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
#ifndef __SND_SOC_S3C24XX_S3C2412_I2S_H
16
16
#define __SND_SOC_S3C24XX_S3C2412_I2S_H __FILE__
17
17
 
18
 
#define S3C2412_DIV_BCLK        (1)
19
 
#define S3C2412_DIV_RCLK        (2)
20
 
#define S3C2412_DIV_PRESCALER   (3)
 
18
#include "s3c-i2s-v2.h"
 
19
 
 
20
#define S3C2412_DIV_BCLK        S3C_I2SV2_DIV_BCLK
 
21
#define S3C2412_DIV_RCLK        S3C_I2SV2_DIV_RCLK
 
22
#define S3C2412_DIV_PRESCALER   S3C_I2SV2_DIV_PRESCALER
21
23
 
22
24
#define S3C2412_CLKSRC_PCLK     (0)
23
25
#define S3C2412_CLKSRC_I2SCLK   (1)
26
28
 
27
29
extern struct snd_soc_dai s3c2412_i2s_dai;
28
30
 
29
 
struct s3c2412_rate_calc {
30
 
        unsigned int    clk_div;        /* for prescaler */
31
 
        unsigned int    fs_div;         /* for root frame clock */
32
 
};
33
 
 
34
 
extern int s3c2412_iis_calc_rate(struct s3c2412_rate_calc *info,
35
 
                                 unsigned int *fstab,
36
 
                                 unsigned int rate, struct clk *clk);
37
 
 
38
31
#endif /* __SND_SOC_S3C24XX_S3C2412_I2S_H */