mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
Bugfix: Link selection was swapped in switch.
Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8391c4aab1
commit
2c485209a5
@ -247,10 +247,10 @@ static int caif_device_notify(struct notifier_block *me, unsigned long what,
|
||||
|
||||
switch (caifdev->link_select) {
|
||||
case CAIF_LINK_HIGH_BANDW:
|
||||
pref = CFPHYPREF_LOW_LAT;
|
||||
pref = CFPHYPREF_HIGH_BW;
|
||||
break;
|
||||
case CAIF_LINK_LOW_LATENCY:
|
||||
pref = CFPHYPREF_HIGH_BW;
|
||||
pref = CFPHYPREF_LOW_LAT;
|
||||
break;
|
||||
default:
|
||||
pref = CFPHYPREF_HIGH_BW;
|
||||
|
Loading…
Reference in New Issue
Block a user