Revert "[camera][imx355] Fix crash on boot"

This reverts commit 71090602cba58192a74131461cf7e970d0b3af0a.

Reason for revert: Landed in wrong repo.

Original change's description:
> [camera][imx355] Fix crash on boot
> 
> This CL fixes a crash when booting a device that uses the imx355
> driver. The root cause was the ISP query of the number of
> available modes, which asked for more sensor modes than were available.
> 
> The fix was to change the logic to return the smaller of the
> number of modes available and the number that was requested.
> 
> This CL also removes some spurious driver logging during driver
> initialization.
> 
> Tested on a luis platform board with the camera in both the
> muted and unmuted states at power on.
> 
> Change-Id: I834875399b5fa0dd9ef9f9e08a03ff1a464aa2d9
> Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/419754
> Testability-Review: Nic Zoghb <nzo@google.com>
> Commit-Queue: John Sasinowski <jsasinowski@google.com>
> Reviewed-by: Ed James <edjames@google.com>
> Reviewed-by: Carl Norum <cjn@google.com>

TBR=cjn@google.com,edjames@google.com,nzo@google.com,jsasinowski@google.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I541d95f7a3e3ab425f8fd3eceef25125013bc0b6
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/422414
Reviewed-by: John Sasinowski <jsasinowski@google.com>
Reviewed-by: Nic Zoghb <nzo@google.com>
Commit-Queue: John Sasinowski <jsasinowski@google.com>
2 files changed
tree: bd5b2870e86e4a057ad5378fc2c5bb5edbb7e479
  1. boards/
  2. build/
  3. bundles/
  4. cts/
  5. docs/
  6. examples/
  7. garnet/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. third_party/
  13. tools/
  14. zircon/
  15. .clang-format
  16. .clang-tidy
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. AUTHORS
  22. BUILD.gn
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. LICENSE
  26. OWNERS
  27. PATENTS
  28. README.md
  29. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.