diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-31 18:38:09 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-31 18:38:09 -0500 |
commit | 14864a52cd8189e8567df8351d9fc7e435133abd (patch) | |
tree | 2cc4548e503d36c56311ef9e1d1d644238e917ec /sound/soc/fsl/fsl_ssi.c | |
parent | 4e13c5d0212f25d69a97606b9d5a85edb52a7737 (diff) | |
parent | 75fae117a5dbde5ab984fa5c60705758cfbc6433 (diff) |
Merge tag 'sound-fix-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound fixes from Takashi Iwai:
"The big chunks here are the updates for oxygen driver for Xonar DG
devices, which were slipped from the previous pull request. They are
device-specific and thus not too dangerous.
Other than that, all patches are small bug fixes, mainly for Samsung
build fixes, a few HD-audio enhancements, and other misc ASoC fixes.
(And this time ASoC merge is less than Octopus, lucky seven :)"
* tag 'sound-fix-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (42 commits)
ALSA: hda/hdmi - allow PIN_OUT to be dynamically enabled
ALSA: hda - add headset mic detect quirks for another Dell laptop
ALSA: oxygen: Xonar DG(X): cleanup and minor changes
ALSA: oxygen: Xonar DG(X): modify high-pass filter control
ALSA: oxygen: Xonar DG(X): modify input select functions
ALSA: oxygen: Xonar DG(X): modify capture volume functions
ALSA: oxygen: Xonar DG(X): use headphone volume control
ALSA: oxygen: Xonar DG(X): modify playback output select
ALSA: oxygen: Xonar DG(X): capture from I2S channel 1, not 2
ALSA: oxygen: Xonar DG(X): move the mixer code into another file
ALSA: oxygen: modify CS4245 register dumping function
ALSA: oxygen: modify adjust_dg_dac_routing function
ALSA: oxygen: Xonar DG(X): modify DAC/ADC parameters function
ALSA: oxygen: Xonar DG(X): modify initialization functions
ALSA: oxygen: Xonar DG(X): add new CS4245 SPI functions
ALSA: oxygen: additional definitions for the Xonar DG/DGX card
ALSA: oxygen: change description of the xonar_dg.c file
ALSA: oxygen: export oxygen_update_dac_routing symbol
ALSA: oxygen: add mute mask for the OXYGEN_PLAY_ROUTING register
ALSA: oxygen: modify the SPI writing function
...
Diffstat (limited to 'sound/soc/fsl/fsl_ssi.c')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 6404e1ef20d0..5428a1fda260 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c | |||
@@ -1278,18 +1278,13 @@ static int fsl_ssi_probe(struct platform_device *pdev) | |||
1278 | return -EINVAL; | 1278 | return -EINVAL; |
1279 | hw_type = (enum fsl_ssi_type) of_id->data; | 1279 | hw_type = (enum fsl_ssi_type) of_id->data; |
1280 | 1280 | ||
1281 | /* We only support the SSI in "I2S Slave" mode */ | ||
1282 | sprop = of_get_property(np, "fsl,mode", NULL); | 1281 | sprop = of_get_property(np, "fsl,mode", NULL); |
1283 | if (!sprop) { | 1282 | if (!sprop) { |
1284 | dev_err(&pdev->dev, "fsl,mode property is necessary\n"); | 1283 | dev_err(&pdev->dev, "fsl,mode property is necessary\n"); |
1285 | return -EINVAL; | 1284 | return -EINVAL; |
1286 | } | 1285 | } |
1287 | if (!strcmp(sprop, "ac97-slave")) { | 1286 | if (!strcmp(sprop, "ac97-slave")) |
1288 | ac97 = true; | 1287 | ac97 = true; |
1289 | } else if (strcmp(sprop, "i2s-slave")) { | ||
1290 | dev_notice(&pdev->dev, "mode %s is unsupported\n", sprop); | ||
1291 | return -ENODEV; | ||
1292 | } | ||
1293 | 1288 | ||
1294 | /* The DAI name is the last part of the full name of the node. */ | 1289 | /* The DAI name is the last part of the full name of the node. */ |
1295 | p = strrchr(np->full_name, '/') + 1; | 1290 | p = strrchr(np->full_name, '/') + 1; |
@@ -1407,7 +1402,7 @@ static int fsl_ssi_probe(struct platform_device *pdev) | |||
1407 | */ | 1402 | */ |
1408 | ssi_private->baudclk = devm_clk_get(&pdev->dev, "baud"); | 1403 | ssi_private->baudclk = devm_clk_get(&pdev->dev, "baud"); |
1409 | if (IS_ERR(ssi_private->baudclk)) | 1404 | if (IS_ERR(ssi_private->baudclk)) |
1410 | dev_warn(&pdev->dev, "could not get baud clock: %ld\n", | 1405 | dev_dbg(&pdev->dev, "could not get baud clock: %ld\n", |
1411 | PTR_ERR(ssi_private->baudclk)); | 1406 | PTR_ERR(ssi_private->baudclk)); |
1412 | else | 1407 | else |
1413 | clk_prepare_enable(ssi_private->baudclk); | 1408 | clk_prepare_enable(ssi_private->baudclk); |