ASoC: codecs: modify audience SPI interface
Dara Ramesh [Wed, 27 Aug 2014 03:52:01 +0000 (20:52 -0700)]
modify audience spi interface for tegra.

Change-Id: I21ad56d9777cb46fa9a6dd8e3b10ed1c94f3f308
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/488593

sound/soc/codecs/audience/escore-spi.c
sound/soc/codecs/audience/escore-spi.h

index 5fdcd05..f6a128c 100644 (file)
@@ -482,7 +482,7 @@ struct spi_driver escore_spi_driver = {
                .owner  = THIS_MODULE,
        },
        .probe  = escore_spi_probe,
-       .remove = __devexit_p(escore_spi_remove),
+       .remove = escore_spi_remove,
        .id_table = escore_spi_id,
 };
 
index bf5367d..10cca0f 100644 (file)
@@ -28,6 +28,9 @@ extern struct spi_driver escore_spi_driver;
 #elif defined(CONFIG_ARCH_MSM)
 #define ES_SPI_FW_SPEED        9600000
 #define ES_SPI_OPERATION_SPEED 4800000
+#elif defined(CONFIG_ARCH_TEGRA)
+#define ES_SPI_FW_SPEED        4000000
+#define ES_SPI_OPERATION_SPEED 3000000
 #endif
 
 extern struct es_stream_device es_spi_streamdev;