diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-11-18 11:56:48 +0100 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-11-26 21:37:41 +0100 |
commit | bdfbef2d29dcdc79e2abf3085d4be6a844a06e34 (patch) | |
tree | 29c284277c1ac2462c534de1076fe00ee6ceb22c /drivers/pci/vpd.c | |
parent | pinctrl: baytrail: Set IRQCHIP_SET_TYPE_MASKED flag on the irqchip (diff) | |
download | linux-bdfbef2d29dcdc79e2abf3085d4be6a844a06e34.tar.xz 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 'drivers/pci/vpd.c')
0 files changed, 0 insertions, 0 deletions