summaryrefslogtreecommitdiff
path: root/drivers/hwtracing
diff options
context:
space:
mode:
authorNuno Sa <nuno.sa@analog.com>2024-04-19 18:36:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-12 12:12:22 +0300
commit720d27664d7cb7284bb341ee94998c2cfbf5ee46 (patch)
tree7bafccb8681da1b250c67aaa578877c74ebaa9ef /drivers/hwtracing
parentd3513f1261a0615eea6cf6839a57abedc648cc4c (diff)
downloadlinux-720d27664d7cb7284bb341ee94998c2cfbf5ee46.tar.xz
iio: adc: adi-axi-adc: only error out in major version mismatch
[ Upstream commit cf1c833f89e7c8635a28c3db15c68ead150ea712 ] The IP core only has breaking changes when there major version changes. Hence, only match the major number. This is also in line with the other core ADI has upstream. The current check for erroring out 'expected_version > current_version"' is then wrong as we could just increase the core major with breaking changes and that would go unnoticed. Fixes: ef04070692a2 ("iio: adc: adi-axi-adc: add support for AXI ADC IP core") Signed-off-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20240419-ad9467-new-features-v1-2-3e7628ff6d5e@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hwtracing')
0 files changed, 0 insertions, 0 deletions