- 07 Oct, 2015 1 commit
-
-
Axel Lin authored
Make a copy of memory for index_cache rather than directly use the rt286_index_def to avoid run time error. Fixes: c418a84a ("ASoC: Constify reg_default tables") Signed-off-by:
Axel Lin <axel.lin@ingics.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 24 Sep, 2015 1 commit
-
-
Axel Lin authored
Also move the include of sound/hda_verbs.h to rl6347a.h because it is used in rl6347a.h. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 15 Jul, 2015 1 commit
-
-
Krzysztof Kozlowski authored
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 08 Jul, 2015 1 commit
-
-
Axel Lin authored
dmi_check_system() takes "const struct dmi_system_id *", so make the dmi_system_id table const. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 07 Jul, 2015 1 commit
-
-
Axel Lin authored
Signed-off-by:
Axel Lin <axel.lin@ingics.com> Acked-by:
Peter Rosin <peda@axentia.se> Acked-by:
Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 06 Jul, 2015 1 commit
-
-
Jarkko Nikula authored
Make it obvious that unexpected value read from ID register is printed in hexadecimal. Signed-off-by:
Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 12 Jun, 2015 1 commit
-
-
Oder Chiou authored
The patch separates the IO function from the rt286. It is prepared to share for new chips that support the same IO function. Signed-off-by:
Oder Chiou <oder_chiou@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 20 May, 2015 1 commit
-
-
Lars-Peter Clausen authored
The dapm field of the snd_soc_codec struct is eventually going to be removed, in preparation for this replace all manual access to codec->dapm.bias_level with snd_soc_codec_get_bias_level() and replace all other manual access to codec->dapm with snd_soc_codec_get_dapm(). Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 27 Apr, 2015 1 commit
-
-
Lars-Peter Clausen authored
All drivers have the same line at the end of the set_bias_level callback to update the bias_level state. Move this update into snd_soc_dapm_force_bias_level() and remove them from the drivers. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 09 Apr, 2015 1 commit
-
-
Bard Liao authored
RT286 can't do register reset. If the hardware power is still existing in power off, rt286 will keep the register settings. So, we need to restore the default register value in probe to make sure the cache value is the same as the real register value. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 24 Mar, 2015 1 commit
-
-
Bard Liao authored
It is worth to check the regmap_read result for ID check since it is the first regmap_read. And we can check if there is any i2c issue. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 17 Mar, 2015 1 commit
-
-
Lars-Peter Clausen authored
The default value for the bias_level is SND_SOC_BIAS_OFF when probe is being called, there is no need to initialize it explicitly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 06 Mar, 2015 2 commits
-
-
Bard Liao authored
The board ID will be changed between revisions. So, it is better to map it by project name. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
Jie Yang authored
Here it should be AND(&) to check the status. Signed-off-by:
Jie Yang <yang.jie@intel.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 24 Feb, 2015 1 commit
-
-
Jie Yang authored
Some platforms, e.g. WSB, don't need jack detection when system is in Suspend, for power save reason. Here add headphone/mic jack detection disable feature with NULL jack passed in, when disabled, it will disable interrupt, and disable LDO1, which is used for jack detection when headphone is plugged in. Signed-off-by:
Jie Yang <yang.jie@intel.com> Reviewed-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 09 Feb, 2015 1 commit
-
-
Bard Liao authored
This patch adds support for rt288 codec. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 05 Feb, 2015 2 commits
-
-
Bard Liao authored
The patch add the customize setting for Dell Dino project. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
Bard Liao authored
We assign rt286->codec in rt286_probe. If rt286_jack_detect is invoked before rt286_probe, rt286->codec will be NULL and cause a kernel panic. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 26 Jan, 2015 1 commit
-
-
Bard Liao authored
The purpose of rt286_adc_event is to mute/numnte the ADC mixer. However, it will also set the capture volume to default value. As a result, "ADC0 Capture Volume" is not working if it is set before capture start. This patch remove rt286_adc_event and add "ADC0 Capture Switch" to mute/unmute ADC mixer. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 15 Jan, 2015 2 commits
-
-
Lars-Peter Clausen authored
The codec field of the snd_soc_widget struct is eventually going to be removed, use snd_soc_dapm_to_codec(w->dapm) instead. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
Bard Liao authored
There is only one I2S I/F, AD/DA path must operate to the same format. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 18 Nov, 2014 1 commit
-
-
Sudip Mukherjee authored
while building we were getting the following build warning: Section mismatch in reference from the function rt286_i2c_probe() to the variable .init.data:force_combo_jack_table The function rt286_i2c_probe() references the variable __initdata force_combo_jack_table. This is often because rt286_i2c_probe lacks a __initdata annotation or the annotation of force_combo_jack_table is wrong. we were getting the warning as force_combo_jack_table was marked with __initdata Signed-off-by:
Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 06 Nov, 2014 2 commits
-
-
Bard Liao authored
Adds spaces around the /* */. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
Bard Liao authored
This patch enables combo jack configuration according to dmi. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 31 Oct, 2014 1 commit
-
-
Bard Liao authored
This patch will optimize the power consumption of rt286. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 02 Oct, 2014 1 commit
-
-
Thierry Reding authored
The rt286_index_sync() function is only called in the resume path. If PM is disabled it becomes unused and shouldn't be built either. Signed-off-by:
Thierry Reding <treding@nvidia.com> Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- 26 Sep, 2014 2 commits
-
-
Bard Liao authored
We try to write index registers into cache when we write an index register, but we change the reg value before updating the cache. As a result, the cache is never be updated. This patch will fix this issue. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
-
Bard Liao authored
This patch corrects some incorrect default value in the cache. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
-
- 29 Jul, 2014 1 commit
-
-
Bard Liao authored
To make the interrupt safe if it happens to be called before the card is ready, we use regmap read/write in the interrupt handler. Also, we try to prevent the interrupt happen before the card is ready by enabling codec's IRQ in the ASoC probe. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@linaro.org>
-
- 14 Jul, 2014 1 commit
-
-
Bard Liao authored
Signed-off-by:
Fengguang Wu <fengguang.wu@intel.com> Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@linaro.org>
-
- 07 Jul, 2014 4 commits
-
-
Bard Liao authored
This patch fix the issue that the output is almost silent at the beginning of starting a playback. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@linaro.org>
-
Bard Liao authored
Move codec initial settings from asoc probe to i2c probe. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@linaro.org>
-
Bard Liao authored
Move ID check from asoc level to i2c level. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@linaro.org>
-
Bard Liao authored
Remove test code. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Mark Brown <broonie@linaro.org>
-
- 04 Jul, 2014 1 commit
-
-
Bard Liao authored
This patch adds Realtek ALC286 codec driver. ALC286 is a dual mode codec, which can run as HD-A or I2S mode. It is controlled by HD-A verb commands via I2C protocol. The following is the I/O difference between ALC286 and general I2S codecs. 1. A HD-A verb command contains three parts, NID, VID, and PID. And an I2S command contains only two parts: address and data. 2. Not only the register address is written, but the read command also includes the entire write command. 3. rt286 uses different registers for read and write the same bits. We map verb command to regmap structure. However, we read most registers from cache to prevent the asymmetry read/write issue in rt286. Signed-off-by:
Bard Liao <bardliao@realtek.com> Signed-off-by:
Gustaw Lewandowski <gustaw.lewandowski@intel.com> Signed-off-by:
Mark Brown <broonie@linaro.org>
-