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

Adding button press flag and organizing jd2 code #1

Commits on Jan 7, 2016

  1. Adding button press flag and organizing jd2 code

    T100 device has not support for button press from headset
    a flag is added to avoid trying to enable unsupported gpios
    and avoid some initializing errors.
    
    When jack detection 2 pin is used (T100) some registers needs
    to be configured. This code has been changed to a function
    to clean up it a little.
    
    MICBIAS1 has been fixed from lowercase
    
    Signed-off-by: Francisco Mendez <[email protected]>
    fdmendez committed Jan 7, 2016
    Configuration menu
    Copy the full SHA
    5e678e8 View commit details
    Browse the repository at this point in the history
  2. Clean up interruption functions and gpios

    the current interrupt functions are a little weird, because
    int1 is used sometimes for jack detection but other for bp.
    This definitions has been changed and now there are only 2
    interruptions functions, only for jack always and the other
    for but as well.
    
    INT1 and INT2 flags have been removed and all the logic is
    only using MICBIAS or CODEC button press flags.
    
    Signed-off-by: Francisco Mendez <[email protected]>
    fdmendez committed Jan 7, 2016
    Configuration menu
    Copy the full SHA
    d19ef09 View commit details
    Browse the repository at this point in the history