pm_rps: Use unbuffered I/O on sysfs files
authorJeff McGee <jeff.mcgee@intel.com>
Fri, 10 Jan 2014 21:12:30 +0000 (15:12 -0600)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Jan 2014 21:31:51 +0000 (22:31 +0100)
commit265efbb2c4401542c8753e0d83d7a98493720865
tree406e404bfea50a6c86f364159d95d52cc5f17f72
parent45d63644d28c34202a97bd812f6c46c853e97d28
pm_rps: Use unbuffered I/O on sysfs files

Bionic C library may not re-read a buffered, read-only file which
results in failure to monitor changes in gt_cur_freq_mhz.

Signed-off-by: Jeff McGee <jeff.mcgee@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/pm_rps.c