[roll] Roll fuchsia [fake-gpio] Update interrupt config on existing state

The previous implementation of `GetInterrupt` would add a new state to
the state log every time it was called. This is incorrect behavior, as
a call to `GetInterrupt` should modify the existing configuration, not
create a new historical record. This is documented in the usage of the
state log in `GetInterruptMode()` as:

  // Return the most recent mode set by `GetInterrupt` or
  // `ConfigureInterrupt`. Will fail if there is not a current state.

This change corrects the behavior to update the `interrupt_options` of
the most recent state entry. If no state exists, a new one is created.
This more accurately simulates the behavior of a real GPIO driver.

Test: CQ
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1468289
Original-Revision: e32d26aa64f41b7e8ac1a27fd00e73ab433d8577
GitOrigin-RevId: c26d015d7a24c1c3a4a73afcb92a1a5c2b137e44
Change-Id: I7c9b90fc77742f49e96ee9eb7ed19870c93d1a56
1 file changed
tree: d010ca9360a27a9b4fb38664bfe6673b22c7ce84
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. flower
  6. jiri.lock
  7. MILESTONE
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. 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 in one of the communication channels documented at get involved.

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.