Skip to content
Commit 22ebf00e authored by Lukasz Gemborowski's avatar Lukasz Gemborowski Committed by Wolfram Sang
Browse files

i2c: mux: reg: wrong condition checked for of_address_to_resource return value



of_address_to_resource return 0 on successful call but
devm_ioremap_resource is called only if it returns non-zero value

Signed-off-by: default avatarLukasz Gemborowski <lukasz.gemborowski@nokia.com>
Reviewed-by: default avatarAlexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
parent eab09988
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment