summaryrefslogtreecommitdiff
path: root/tools/intel_dpio_write.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2014-08-28 16:32:46 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2014-09-18 12:56:55 +0300
commitb39eb28c256ecdf4f60dab08dba4bbc36294a576 (patch)
tree4add7a490ef22b03722865b35a9df34611d980e6 /tools/intel_dpio_write.c
parent50534460dd2034bd4cbdabd803fa2680cbc7b490 (diff)
tools: Allow iosf-sb utils to work on chv
Unlike the kernel IS_VALLEYVIEW() doesn't cover chv in igt. Add the appropriate IS_CHERRYVIEW() checks to the various sideband poking tools. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools/intel_dpio_write.c')
-rw-r--r--tools/intel_dpio_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_dpio_write.c b/tools/intel_dpio_write.c
index 15c79efe..45cc95ff 100644
--- a/tools/intel_dpio_write.c
+++ b/tools/intel_dpio_write.c
@@ -47,7 +47,7 @@ int main(int argc, char** argv)
char *cmdname = strdup(argv[0]);
struct pci_device *dev = intel_get_pci_device();
- if (argc != 3 || !IS_VALLEYVIEW(dev->device_id)) {
+ if (argc != 3 || !(IS_VALLEYVIEW(dev->device_id) || IS_CHERRYVIEW(dev->device_id))) {
usage(cmdname);
ret = 1;
goto out;