lkml.org 
[lkml]   [2020]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 4.19 3/9] ASoC: Intel: bytcr_rt5640: Add quirk for MPMAN Converter9 2-in-1
    Date
    From: Hans de Goede <hdegoede@redhat.com>

    [ Upstream commit 6a0137101f47301fff2da6ba4b9048383d569909 ]

    The MPMAN Converter9 2-in-1 almost fully works with out default settings.
    The only problem is that it has only 1 speaker so any sounds only playing
    on the right channel get lost.

    Add a quirk for this model using the default settings + MONO_SPEAKER.

    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://lore.kernel.org/r/20200901080623.4987-1-hdegoede@redhat.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    sound/soc/intel/boards/bytcr_rt5640.c | 10 ++++++++++
    1 file changed, 10 insertions(+)

    diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c
    index 0dcd249877c55..ec630127ef2f3 100644
    --- a/sound/soc/intel/boards/bytcr_rt5640.c
    +++ b/sound/soc/intel/boards/bytcr_rt5640.c
    @@ -588,6 +588,16 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
    BYT_RT5640_SSP0_AIF1 |
    BYT_RT5640_MCLK_EN),
    },
    + { /* MPMAN Converter 9, similar hw as the I.T.Works TW891 2-in-1 */
    + .matches = {
    + DMI_MATCH(DMI_SYS_VENDOR, "MPMAN"),
    + DMI_MATCH(DMI_PRODUCT_NAME, "Converter9"),
    + },
    + .driver_data = (void *)(BYTCR_INPUT_DEFAULTS |
    + BYT_RT5640_MONO_SPEAKER |
    + BYT_RT5640_SSP0_AIF1 |
    + BYT_RT5640_MCLK_EN),
    + },
    {
    /* MPMAN MPWIN895CL */
    .matches = {
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-09-21 16:42    [W:5.340 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site