tools/power/x86/intel-speed-select: Check feature status first
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 5 Mar 2020 22:45:24 +0000 (14:45 -0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 20 Mar 2020 12:46:21 +0000 (14:46 +0200)
commit6c8edba37cc58f44e02f846c4ab50702b64564fd
tree8dad89649357d2c0accd36e08812b6bfbdef795d
parentac9d05ea4cfb99dd24767f2510ca526282fffa13
tools/power/x86/intel-speed-select: Check feature status first

Before looking for information about the base-freq or turbo-freq details,
first check if the feature is supported at that level. If not print error
and return.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
tools/power/x86/intel-speed-select/isst-core.c