/* * linux/sound/rt5514.h -- Platform data for RT5514 * * Copyright 2016 Realtek Semiconductor Corp. * Author: Oder Chiou * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef __LINUX_SND_RT5514_H #define __LINUX_SND_RT5514_H struct rt5514_platform_data { unsigned int dmic_init_delay; }; #endif -next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlaa Hleihel <alaa@mellanox.com>2017-01-29 18:56:16 +0200
committerDavid S. Miller <davem@davemloft.net>2017-01-30 15:26:42 -0500
commit4b5e5b7ececc3265092712a4fef140cc6ef0d028 (patch)
tree124c3afc31a5910350a9850c820fdb7416bd1321 /drivers
parentae5a2e29d11eb9c6f0ed0676dc801996a933605b (diff)
net/mlx4_core: Get num_tc using netdev_get_num_tc
Avoid reading num_tc directly from struct net_device, but use the helper function netdev_get_num_tc. Fixes: bc6a4744b827 ("net/mlx4_en: num cores tx rings for every UP") Fixes: f5b6345ba8da ("net/mlx4_en: User prio mapping gets corrupted when changing number of channels") Signed-off-by: Alaa Hleihel <alaa@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')