[media] rcar-vin: rename entity to digital
When Gen3 support is added to the driver more then one possible video source entity will be possible. Knowing that the name entity is a bad one, rename it to digital since it will deal with the digital input source. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
23eb2c86f5
commit
4869ce9d1a
@@ -90,7 +90,7 @@ struct rvin_graph_entity {
|
||||
* @src_pad_idx: source pad index for media controller drivers
|
||||
* @ctrl_handler: V4L2 control handler
|
||||
* @notifier: V4L2 asynchronous subdevs notifier
|
||||
* @entity: entity in the DT for subdevice
|
||||
* @digital: entity in the DT for local digital subdevice
|
||||
*
|
||||
* @lock: protects @queue
|
||||
* @queue: vb2 buffers queue
|
||||
@@ -120,7 +120,7 @@ struct rvin_dev {
|
||||
int src_pad_idx;
|
||||
struct v4l2_ctrl_handler ctrl_handler;
|
||||
struct v4l2_async_notifier notifier;
|
||||
struct rvin_graph_entity entity;
|
||||
struct rvin_graph_entity digital;
|
||||
|
||||
struct mutex lock;
|
||||
struct vb2_queue queue;
|
||||
@@ -139,7 +139,7 @@ struct rvin_dev {
|
||||
struct v4l2_rect compose;
|
||||
};
|
||||
|
||||
#define vin_to_source(vin) vin->entity.subdev
|
||||
#define vin_to_source(vin) vin->digital.subdev
|
||||
|
||||
/* Debug */
|
||||
#define vin_dbg(d, fmt, arg...) dev_dbg(d->dev, fmt, ##arg)
|
||||
|
Reference in New Issue
Block a user