pinctrl: cherryview: fix Strago DMI workaround
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 15 Jan 2019 03:38:36 +0000 (19:38 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Feb 2019 07:10:11 +0000 (08:10 +0100)
commit9b66753c68a00620b0a9c0864e40e5ef19219378
tree5b5595657e652cc340542c96023ee6f5deb8598f
parent93f6fb6098745d28ee5145a3c17999ccb1b11bd5
pinctrl: cherryview: fix Strago DMI workaround

commit e3f72b749da2bf63bed7409e416f160418d475b6 upstream.

Well, hopefully 3rd time is a charm. We tried making that check
DMI_BIOS_VERSION and DMI_BOARD_VERSION, but the real one is
DMI_PRODUCT_VERSION.

Fixes: 86c5dd6860a6 ("pinctrl: cherryview: limit Strago DMI workarounds to version 1.0")
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=197953
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1631930
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/intel/pinctrl-cherryview.c