Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. diff --new-file --exclude='.git*' -urbB mytest/drivers/cpufreq/cpufreq_ondemand.c kernel/drivers/cpufreq/cpufreq_ondemand.c
  2. --- mytest/drivers/cpufreq/cpufreq_ondemand.c 2010-11-02 00:10:01.000000000 +0000
  3. +++ kernel/drivers/cpufreq/cpufreq_ondemand.c 2010-07-22 13:11:18.000000000 +0100
  4. @@ -645,6 +645,10 @@
  5. static void dbs_input_event(struct input_handle *handle, unsigned int type,
  6. unsigned int code, int value)
  7. {
  8. +#ifdef CONFIG_SENSORS_AK8973
  9. + if (!strcmp(handle->dev->name, "compass"))
  10. + return;
  11. +#endif
  12. schedule_work(&dbs_refresh_work);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement