aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorOla Lilja <elilola@steludxu2785.(none)>2011-06-09 15:58:41 +0200
committersaid m bagheri <ebgheri@steludxu2848.(none)>2011-06-17 13:42:16 +0200
commitfb2e0bdc985f8560568ad5b93a55e9155997edd4 (patch)
treec563fbd553e7dec225380550ddbdeb8509888cec /sound
parent631ad6fc447811627ef35073383d338f3641e21b (diff)
Ux500 ASoC: Print-level changes
Remove a DORIAN-print and reviewed print-levels in the driver. No printing in association with a playback. ST-Ericsson ID: - ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I1200b3135cb2a4a8260a0b97ff89661b9688c6e8 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24818 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Fix to merge with 4d589f631055f3d751377ba81453463138dc9120
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/ab8500_audio.c6
-rw-r--r--sound/soc/ux500/ux500_ab8500.c8
-rw-r--r--sound/soc/ux500/ux500_msp_dai.c4
-rw-r--r--sound/soc/ux500/ux500_pcm.c8
4 files changed, 13 insertions, 13 deletions
diff --git a/sound/soc/codecs/ab8500_audio.c b/sound/soc/codecs/ab8500_audio.c
index ec323e1ea8d..75c8ac8c7de 100644
--- a/sound/soc/codecs/ab8500_audio.c
+++ b/sound/soc/codecs/ab8500_audio.c
@@ -2316,7 +2316,7 @@ static int __devinit ab8500_codec_driver_probe(struct platform_device *pdev)
static int __devexit ab8500_codec_driver_remove(struct platform_device *pdev)
{
- pr_debug("%s Enter.\n", __func__);
+ pr_info("%s Enter.\n", __func__);
snd_soc_unregister_codec(&pdev->dev);
@@ -2353,7 +2353,7 @@ static int __devinit ab8500_codec_platform_driver_init(void)
{
int ret;
- pr_debug("%s: Enter.\n", __func__);
+ pr_info("%s: Enter.\n", __func__);
ret = platform_driver_register(&ab8500_codec_platform_driver);
if (ret != 0) {
@@ -2366,7 +2366,7 @@ static int __devinit ab8500_codec_platform_driver_init(void)
static void __exit ab8500_codec_platform_driver_exit(void)
{
- pr_debug("%s: Enter.\n", __func__);
+ pr_info("%s: Enter.\n", __func__);
platform_driver_unregister(&ab8500_codec_platform_driver);
}
diff --git a/sound/soc/ux500/ux500_ab8500.c b/sound/soc/ux500/ux500_ab8500.c
index dc980ae9323..1d08ec9fa5c 100644
--- a/sound/soc/ux500/ux500_ab8500.c
+++ b/sound/soc/ux500/ux500_ab8500.c
@@ -292,7 +292,7 @@ int ux500_ab8500_startup(struct snd_pcm_substream *substream)
{
int ret = 0;
- pr_info("%s: Enter\n", __func__);
+ pr_debug("%s: Enter\n", __func__);
/* If we start recording we better enable the needed mic-regulators */
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
@@ -455,7 +455,7 @@ int ux500_ab8500_machine_codec_init(struct snd_soc_pcm_runtime *rtd)
struct snd_soc_codec *codec = rtd->codec;
int ret;
- pr_info("%s Enter.\n", __func__);
+ pr_debug("%s Enter.\n", __func__);
/* TODO: Add required DAPM routes to control regulators on demand */
@@ -522,7 +522,7 @@ int ux500_ab8500_soc_machine_drv_init(void)
{
int status = 0;
- pr_info("%s: Enter.\n", __func__);
+ pr_debug("%s: Enter.\n", __func__);
status = create_regulators();
if (status < 0) {
@@ -536,7 +536,7 @@ int ux500_ab8500_soc_machine_drv_init(void)
void ux500_ab8500_soc_machine_drv_cleanup(void)
{
- pr_info("%s: Enter.\n", __func__);
+ pr_debug("%s: Enter.\n", __func__);
regulator_bulk_free(ARRAY_SIZE(reg_info), reg_info);
diff --git a/sound/soc/ux500/ux500_msp_dai.c b/sound/soc/ux500/ux500_msp_dai.c
index 3cbd3b783a5..4558ea61f72 100644
--- a/sound/soc/ux500/ux500_msp_dai.c
+++ b/sound/soc/ux500/ux500_msp_dai.c
@@ -924,7 +924,7 @@ static int ux500_msp_drv_probe(struct i2s_device *i2s_dev)
struct ux500_platform_drvdata *drvdata;
int msp_idx = i2s_dev->chip_select;
- pr_debug("%s: Enter (idx: %d, dev-name: %s, drv-name: %s).\n",
+ pr_info("%s: Enter (idx: %d, dev-name: %s, drv-name: %s).\n",
__func__,
msp_idx,
dev_name(&i2s_dev->dev),
@@ -951,7 +951,7 @@ static int ux500_msp_drv_remove(struct i2s_device *i2s_dev)
struct ux500_platform_drvdata *drvdata = i2s_get_drvdata(i2s_dev);
int msp_idx = i2s_dev->chip_select;
- pr_debug("%s: Enter (idx: %d, dev-name: %s, drv-name: %s).\n",
+ pr_info("%s: Enter (idx: %d, dev-name: %s, drv-name: %s).\n",
__func__,
msp_idx,
dev_name(&i2s_dev->dev),
diff --git a/sound/soc/ux500/ux500_pcm.c b/sound/soc/ux500/ux500_pcm.c
index 1372e8d6e3f..a0fa9723e4c 100644
--- a/sound/soc/ux500/ux500_pcm.c
+++ b/sound/soc/ux500/ux500_pcm.c
@@ -172,7 +172,7 @@ static int ux500_pcm_close(struct snd_pcm_substream *substream)
{
struct ux500_pcm_private *private = substream->runtime->private_data;
- pr_info("%s: Enter\n", __func__);
+ pr_debug("%s: Enter\n", __func__);
kfree(private);
@@ -187,7 +187,7 @@ static int ux500_pcm_hw_params(struct snd_pcm_substream *substream,
int ret = 0;
int size;
- pr_info("%s: Enter\n", __func__);
+ pr_debug("%s: Enter\n", __func__);
size = params_buffer_bytes(hw_params);
@@ -374,7 +374,7 @@ static int __devexit ux500_pcm_drv_probe(struct platform_device *pdev)
{
int ret;
- pr_debug("%s: Register ux500-pcm SoC platform driver.\n", __func__);
+ pr_info("%s: Register ux500-pcm SoC platform driver.\n", __func__);
ret = snd_soc_register_platform(&pdev->dev, &ux500_pcm_soc_drv);
if (ret < 0) {
pr_err("%s: Error: Failed to register "
@@ -389,7 +389,7 @@ static int __devexit ux500_pcm_drv_probe(struct platform_device *pdev)
static int __devinit ux500_pcm_drv_remove(struct platform_device *pdev)
{
- pr_debug("%s: Unregister ux500-pcm SoC platform driver.\n", __func__);
+ pr_info("%s: Unregister ux500-pcm SoC platform driver.\n", __func__);
snd_soc_unregister_platform(&pdev->dev);
return 0;