summaryrefslogtreecommitdiff
path: root/drivers/ras
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-02-26 16:51:58 +0200
committerLee Jones <lee.jones@linaro.org>2020-03-30 07:35:28 +0100
commitfb945c95a482200876993977008b67ea658bd938 (patch)
tree287bc1fb903fe46175e1c633b0f38d125d67947e /drivers/ras
parent4e213b45d2b50f0254fd5a840db0f8c11be99766 (diff)
mfd: dln2: Fix sanity checking for endpoints
While the commit 2b8bd606b1e6 ("mfd: dln2: More sanity checking for endpoints") tries to harden the sanity checks it made at the same time a regression, i.e. mixed in and out endpoints. Obviously it should have been not tested on real hardware at that time, but unluckily it didn't happen. So, fix above mentioned typo and make device being enumerated again. While here, introduce an enumerator for magic values to prevent similar issue to happen in the future. Fixes: 2b8bd606b1e6 ("mfd: dln2: More sanity checking for endpoints") Cc: Oliver Neukum <oneukum@suse.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions