lkml.org 
[lkml]   [2022]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v5 01/20] ASoC: mediatek: mt6366: support for mt6366 codec
    Date
    Mt6366 is a new version of mt6358, and they are same about audio part.
    So we can reuse the driver of mt6358 that add a new compatible string
    inside of the mt6358 driver.

    Signed-off-by: Jiaxin Yu <jiaxin.yu@mediatek.com>
    ---
    sound/soc/codecs/mt6358.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/sound/soc/codecs/mt6358.c b/sound/soc/codecs/mt6358.c
    index 9b263a9a669d..1fdd2f8cf877 100644
    --- a/sound/soc/codecs/mt6358.c
    +++ b/sound/soc/codecs/mt6358.c
    @@ -2477,6 +2477,7 @@ static int mt6358_platform_driver_probe(struct platform_device *pdev)

    static const struct of_device_id mt6358_of_match[] = {
    {.compatible = "mediatek,mt6358-sound",},
    + {.compatible = "mediatek,mt6366-sound",},
    {}
    };
    MODULE_DEVICE_TABLE(of, mt6358_of_match);
    --
    2.18.0
    \
     
     \ /
      Last update: 2022-05-23 15:30    [W:3.510 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site