aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-11-18 11:56:48 +0100
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-11-26 22:37:41 +0200
commitbdfbef2d29dcdc79e2abf3085d4be6a844a06e34 (patch)
tree29c284277c1ac2462c534de1076fe00ee6ceb22c /lib/string_helpers.c
parent6b4542664c2d1fc7a770f0a4182ef5e36672d313 (diff)
downloadlinux-bdfbef2d29dcdc79e2abf3085d4be6a844a06e34.tar.gz
linux-bdfbef2d29dcdc79e2abf3085d4be6a844a06e34.tar.bz2
linux-bdfbef2d29dcdc79e2abf3085d4be6a844a06e34.zip
pinctrl: cherryview: Don't use selection 0 to mark an interrupt line as unused
The selection 0 is a perfectly valid, so stop using it to have the special meaning of interrupt line not used in the intr_lines. Instead introduce a special CHV_INVALID_HWIRQ value, derived from INVALID_HWIRQ. which is never a valid selection and use that to indicate unused interrupt lines. Cc: Yauhen Kharuzhy <jekhor@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions