]> git.baikalelectronics.ru Git - kernel.git/commit
media: rcar-vin: Cache the CSI-2 channel selection value
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Thu, 15 Oct 2020 23:14:06 +0000 (01:14 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:10 +0000 (10:31 +0100)
commit4c0de921f94526b05ecd9d1032ed6a88ffb6794d
tree1b7c7f6a40e91f0b628b79d25c232486238992e9
parent3e3d8c5765c9d9e40b0a2772611879fa554bc808
media: rcar-vin: Cache the CSI-2 channel selection value

In preparation of suspend/resume support cache the chsel value when
written to the register so it can be restored on resume if needed.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/rcar-vin/rcar-dma.c
drivers/media/platform/rcar-vin/rcar-vin.h