The Asynchronous Sample Rate Converter (ASRC) converts the sampling rate of a
signal associated with an input clock into a signal associated with a different
output clock. The driver currently works as a Front End of DPCM with other Back
Ends DAI links such as ESAI-CS42888 and SSI-WM8962 and SAI.
On 07/25/2014 12:49 PM, Nicolin Chen wrote:
(...)
+
+ div[IN] = clk_get_rate(clk) / inrate;
+ if (div[IN] == 0) {
+ pair_err(failed to support input sample rate %dHz by asrck_%x,
+ inrate, clk_index[ideal ? OUT : IN]);
Oh... missed
Hi Varka,
Thank you for the comments!
On Fri, Jul 25, 2014 at 01:05:05PM +0530, Varka Bhadram wrote:
On 07/25/2014 12:49 PM, Nicolin Chen wrote:
(...)
+static const struct platform_device_id fsl_asrc_devtype[] = {
+{
+.name = imx35-asrc,
+.driver_data =
On 07/25/2014 01:27 PM, Nicolin Chen wrote:
Hi Varka,
Thank you for the comments!
On Fri, Jul 25, 2014 at 01:05:05PM +0530, Varka Bhadram wrote:
On 07/25/2014 12:49 PM, Nicolin Chen wrote:
(...)
+static const struct platform_device_id fsl_asrc_devtype[] = {
+ {
+ .name =
On Fri, Jul 25, 2014 at 02:13:10PM +0530, Varka Bhadram wrote:
On 07/25/2014 01:27 PM, Nicolin Chen wrote:
+ if (IS_ERR(asrc_priv-regmap)) {
+ dev_err(pdev-dev, failed to init regmap\n);
+ return PTR_ERR(asrc_priv-regmap);
+ }
+
+ irq = platform_get_irq(pdev, 0);
+ if