summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/litex
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2022-04-15 13:59:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-06 08:48:58 +0200
commit5aada654649d9bcf6b89d7c0d1ff4b794f9295d3 (patch)
tree77816f001ca5bb5860d30438696a36f5a85c5a2c /drivers/net/ethernet/litex
parent22e83371210d2a1226ea9238957b0c30659835c3 (diff)
downloadlinux-stable-5aada654649d9bcf6b89d7c0d1ff4b794f9295d3.tar.gz
media: i2c: imx412: Fix reset GPIO polarity
commit bb25f071fc92d3d227178a45853347c7b3b45a6b upstream. The imx412/imx577 sensor has a reset line that is active low not active high. Currently the logic for this is inverted. The right way to define the reset line is to declare it active low in the DTS and invert the logic currently contained in the driver. The DTS should represent the hardware does i.e. reset is active low. So: + reset-gpios = <&tlmm 78 GPIO_ACTIVE_LOW>; not: - reset-gpios = <&tlmm 78 GPIO_ACTIVE_HIGH>; I was a bit reticent about changing this logic since I thought it might negatively impact @intel.com users. Googling a bit though I believe this sensor is used on "Keem Bay" which is clearly a DTS based system and is not upstream yet. Fixes: 9214e86c0cc1 ("media: i2c: Add imx412 camera sensor driver") Cc: stable@vger.kernel.org Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/litex')
0 files changed, 0 insertions, 0 deletions