media: i2c: max9286: Break-out reverse channel setup
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 14 Jan 2021 17:04:27 +0000 (18:04 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 6 Feb 2021 08:33:22 +0000 (09:33 +0100)
commit02b57eb3b5760520154f6c1b7db4e58a1780f3b6
tree99bfb04590d9994cd65c29e97d0c1da45eec1fd7
parentc00b72491366529be722de20679b169c4f479f39
media: i2c: max9286: Break-out reverse channel setup

Break out the reverse channel setup configuration procedure to its own
function.

This change prepares for configuring the reverse channel conditionally
to the remote side high threshold configuration.

No functional changes intended.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesasa@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/max9286.c