File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -781,7 +781,7 @@ static int sdw_assign_device_num(struct sdw_slave *slave)
781
781
slave -> dev_num = slave -> dev_num_sticky ;
782
782
783
783
if (bus -> ops && bus -> ops -> new_peripheral_assigned )
784
- bus -> ops -> new_peripheral_assigned (bus , dev_num );
784
+ bus -> ops -> new_peripheral_assigned (bus , slave , dev_num );
785
785
786
786
return 0 ;
787
787
}
Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ static int generic_post_bank_switch(struct sdw_bus *bus)
60
60
return sdw -> link_res -> hw_ops -> post_bank_switch (sdw );
61
61
}
62
62
63
- static void generic_new_peripheral_assigned (struct sdw_bus * bus , int dev_num )
63
+ static void generic_new_peripheral_assigned (struct sdw_bus * bus ,
64
+ struct sdw_slave * slave ,
65
+ int dev_num )
64
66
{
65
67
struct sdw_cdns * cdns = bus_to_cdns (bus );
66
68
struct sdw_intel * sdw = cdns_to_intel (cdns );
Original file line number Diff line number Diff line change @@ -862,7 +862,9 @@ struct sdw_master_ops {
862
862
int (* pre_bank_switch )(struct sdw_bus * bus );
863
863
int (* post_bank_switch )(struct sdw_bus * bus );
864
864
u32 (* read_ping_status )(struct sdw_bus * bus );
865
- void (* new_peripheral_assigned )(struct sdw_bus * bus , int dev_num );
865
+ void (* new_peripheral_assigned )(struct sdw_bus * bus ,
866
+ struct sdw_slave * slave ,
867
+ int dev_num );
866
868
};
867
869
868
870
/**
You can’t perform that action at this time.
0 commit comments