dragon: sensor: Limit interrupt rate to 50Hz

To allow Ryu to suspend while sensors are set to max frequency, do
not allow the interrupt rate to go above 50Hz.

BUG=b:25425420
TEST=pass cts test.

Change-Id: Ia638a36334298c9e18f146f2500ce900f97b4098
Signed-off-by: Gwendal Grignou <gwendal@google.com>
2 files changed