media: arch: sh: migor: Fix TW9910 PDN gpio
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Wed, 30 May 2018 09:13:24 +0000 (05:13 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 5 Jun 2018 13:49:53 +0000 (09:49 -0400)
commit2b787b66bcb03ec3bd97e950464e0452f459e2ca
tree80ac3f1d7c2027c880ceb3e889eafd64bea8492e
parentf956aec08d2b989dcf4699c15de8cd465929b750
media: arch: sh: migor: Fix TW9910 PDN gpio

The TW9910 PDN gpio (power down) is listed as active high in the chip
manual. It turns out it is actually active low as when set to physical
level 0 it actually turns the video decoder power off.

Without this patch applied:
tw9910 0-0045: Product ID error 1f:2

With this patch applied:
tw9910 0-0045: tw9910 Product ID b:0

Fixes: commit "186c446f4b840bd77b79d3dc951ca436cb8abe79"

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
arch/sh/boards/mach-migor/setup.c