[roll] Roll fuchsia [nelson][audio][power] Fix test memory access

NelsonBrownoutProtectionTest accesses and modifies a private boolean
agl_enabled_. Before this fix the compiler could optimize the checking
for this variable being done in a loop since there was no indication
that the memory could have been changed. The change to agl_enabled_
happens in another thread via SetAgl(). The fix is to add
synchronization to this variable accesses.

Thanks to mcgrathr@ for finding the issue.

Also deleted leftover gain calls unnecessary after the API updates to
use AGL.

Original-Fixed: 91009
MULTIPLY: nelson-brownout-protection-test: 1000

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/626994
Original-Revision: bbc4236ee74abe27f0dd43b04e63266b7080acea
GitOrigin-RevId: adc8d0e7b04036e1dd7ad95576b12b77b8e83063
Change-Id: Id641410b2c8a0cab1d896932db0526e45348368d
1 file changed
tree: 181541f6195ed30b3def622047e37a6862ea3a9b
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.