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

hammerhead: Unmatched lock in bluetooth_set_power #2

Merged
merged 1 commit into from
Sep 26, 2019

Conversation

UniversalSuperBox
Copy link
Member

This should fix ubports/ubuntu-touch#304 and unblock ubports/lxc-android-config#26 by fixing a one-sided lock causing a race condition.

Change-Id: I1b3cf8094f79b16f7944e28f0670bdbc146a89d6

Copy link

@peat-psuwit peat-psuwit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now, I'm not sure if there's anything on Android that might unlock this. I don't think there's any, so leave it in for now. We might get more insight on this when we upstream this to LOS.

Also, a cosmetic change for readability.

arch/arm/mach-msm/lge/board-8974-rfkill.c Show resolved Hide resolved
Change-Id: I1b3cf8094f79b16f7944e28f0670bdbc146a89d6
Copy link
Member

@mariogrip mariogrip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link

@peat-psuwit peat-psuwit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good now and suitable for upstream.

@UniversalSuperBox UniversalSuperBox merged commit c95a726 into ubp-5.1 Sep 26, 2019
@UniversalSuperBox UniversalSuperBox deleted the unlock-bt branch September 26, 2019 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WLAN service/cell network service crashes and demands 100% cpu load after booting
3 participants