mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
media: maxim-serdes: Disable test pattern generator for now
Disable the test pattern generator that uses the INTERNAL pad flags for now. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
77a10651b2
commit
5df4613c7e
|
|
@ -137,8 +137,13 @@ static inline unsigned int max_des_phy_to_pad(struct max_des *des,
|
|||
|
||||
static inline unsigned int max_des_num_pads(struct max_des *des)
|
||||
{
|
||||
return des->info->num_links + des->info->num_phys +
|
||||
(des->ops->set_tpg ? 1 : 0);
|
||||
return des->info->num_links + des->info->num_phys;
|
||||
/*
|
||||
* TODO: once MEDIA_PAD_FL_INTERNAL is enabled in the uAPI we
|
||||
* can add the TPG pad:
|
||||
* return des->info->num_links + des->info->num_phys +
|
||||
* (des->ops->set_tpg ? 1 : 0);
|
||||
*/
|
||||
}
|
||||
|
||||
static struct max_des_phy *max_des_pad_to_phy(struct max_des *des, u32 pad)
|
||||
|
|
|
|||
|
|
@ -90,8 +90,13 @@ static inline unsigned int max_ser_phy_to_pad(struct max_ser *ser,
|
|||
|
||||
static inline unsigned int max_ser_num_pads(struct max_ser *ser)
|
||||
{
|
||||
return ser->ops->num_phys + MAX_SER_NUM_LINKS +
|
||||
(ser->ops->set_tpg ? 1 : 0);
|
||||
return ser->ops->num_phys + MAX_SER_NUM_LINKS;
|
||||
/*
|
||||
* TODO: once MEDIA_PAD_FL_INTERNAL is enabled in the uAPI we
|
||||
* can add the TPG pad:
|
||||
* return ser->ops->num_phys + MAX_SER_NUM_LINKS +
|
||||
* (ser->ops->set_tpg ? 1 : 0);
|
||||
*/
|
||||
}
|
||||
|
||||
static struct max_ser_phy *max_ser_pad_to_phy(struct max_ser *ser, u32 pad)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user