[nand][core] Stop handling requests after driver suspend hook

Error out all current and future requests after the suspend hook is
called. The rawnand driver doesn't necessarily have to also handle this
hook because the core driver will be suspended first.

Test: fx test nand-unittest
Test: Rebooted Astro, didn't see messages from core NAND driver about
      reads being retried
Change-Id: I2a82a985a343a5d588f1fdb26bfc72a5e92efa0e
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/640213
Reviewed-by: Martin Lindsay <mlindsay@google.com>
Reviewed-by: Suraj Malhotra <surajmalhotra@google.com>
Commit-Queue: Braden Kell <bradenkell@google.com>
(cherry picked from commit a3f1a53d02f0b910983c72171defe8dec7adf13e)
3 files changed
tree: 0b6f375487b8d1671d5ca3d456c50da8f9e55036
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. garnet/
  7. products/
  8. scripts/
  9. sdk/
  10. src/
  11. third_party/
  12. tools/
  13. zircon/
  14. .clang-format
  15. .clang-tidy
  16. .git-blame-ignore-revs
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. analysis_options.yaml
  22. AUTHORS
  23. BUILD.gn
  24. CODE_OF_CONDUCT.md
  25. CONTRIBUTING.md
  26. LICENSE
  27. OWNERS
  28. PATENTS
  29. README.md
  30. rustfmt.toml
README.md

Fuchsia

What is Fuchsia?

Fuchsia an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.

We expect everyone interacting with our project to respect our code of conduct.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.