Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed build WARNINGs #22

Merged

Commits on Aug 26, 2021

  1. Fixed build WARNINGs

    Fixed following WARNINGs:
    for thesofproject#355, removed this unnecessary log print.
    for thesofproject#364, added a variable to "struct es8316_priv", and tried to let
              function es8316_enable_jack_detect() align to mainline code.
    for thesofproject#452, removed it since we did not verified the patch on other platform.
    
    	WARNING: Unnecessary ftrace-like logging - prefer using ftrace
    	thesofproject#355: FILE: sound/soc/codecs/es8316.c:751:
    	+    dev_dbg(comp->dev, "Exit %s\n", __func__);
    
    	ERROR: do not initialise statics to 0
    	thesofproject#364: FILE: sound/soc/codecs/es8316.c:760:
    	+    static int initial = 0;
    
    	WARNING: DT compatible string "everest,es8336" appears un-documented -- check ./Documentation/devicetree/bindings/
    	thesofproject#452: FILE: sound/soc/codecs/es8316.c:932:
    	+    { .compatible = "everest,es8336", },
    
    Signed-off-by: Huajun Li <[email protected]>
    hli25 committed Aug 26, 2021
    Configuration menu
    Copy the full SHA
    7263e2e View commit details
    Browse the repository at this point in the history