summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/vexpress-sysreg.c
diff options
context:
space:
mode:
authorLukas Wunner2017-06-06 14:25:04 +0200
committerGreg Kroah-Hartman2017-06-09 11:42:42 +0200
commit02b17a41ad102934a3772ffc82f345345c232ee4 (patch)
tree450c50597bdf621d2ad82556b92de67bae46ad55 /drivers/mfd/vexpress-sysreg.c
parentthunderbolt: Do not fail if DROM data CRC32 is invalid (diff)
downloadkernel-qcow2-linux-02b17a41ad102934a3772ffc82f345345c232ee4.tar.gz
kernel-qcow2-linux-02b17a41ad102934a3772ffc82f345345c232ee4.tar.xz
kernel-qcow2-linux-02b17a41ad102934a3772ffc82f345345c232ee4.zip
thunderbolt: Refactor and fix parsing of port drom entries
Currently tb_drom_parse_entry() is only able to parse drom entries of type TB_DROM_ENTRY_PORT. Rename it to tb_drom_parse_entry_port(). Fold tb_drom_parse_port_entry() into it. Its return value is currently ignored. Evaluate it and abort parsing on error. Change tb_drom_parse_entries() to accommodate for parsing of other entry types than TB_DROM_ENTRY_PORT. Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Andreas Noever <andreas.noever@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/vexpress-sysreg.c')
0 files changed, 0 insertions, 0 deletions