media: ccs: Get the endpoint by port rather than any next endpoint
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 7 Oct 2020 11:09:19 +0000 (13:09 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 Jan 2021 16:32:38 +0000 (17:32 +0100)
commitd27be0ad943b22d491d1f00e2edbb93a87d58376
tree11d06fd207daa0e390f43546d5c9bf0706d5bb09
parent33039a8880710199007621be38dc8f498a0cd5ca
media: ccs: Get the endpoint by port rather than any next endpoint

Get the first endpoint from port 0 instead of the next one, whatever it
might be. There are no other ports so there's no functional change.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ccs/ccs-core.c