[Sensors] Consider maximum supported frequency
This patch improves capping of the given sensor frequency hint, now it considers the actual sensor capabilities obtained from the platform (if available).
So now the behavior has changed in the following way:
frequency = min(given frequency, 60 Hz) -> frequency = min(given frequency, min(maximum supported frequency, 60 Hz))
BUG=
606766
Committed:
https://crrev.com/9d5b8269d088402d1d9c261d1c12585d81a4ac78
Cr-Commit-Position: refs/heads/master@{#431520}