diff options
author | Kumar Sanghvi <kumar.sanghvi@stericsson.com> | 2011-03-26 13:53:09 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-19 09:02:33 +0100 |
commit | 3cfedd8aa7606a72f7d2682e059007cd01f649a5 (patch) | |
tree | 318cf1693198b0a89580fcab41a58f3bc03ff29f /arch | |
parent | 33c496894befe8905703cd2e7f3525e56061b66d (diff) |
u8500: shrm: Misc updates and optimisation
This patch does following:
1. Protects reset of char queues to prevent a potential kernel
crash if MSR is run in rapid succession continuously without allowing
the user-space to settle.
2. Removes un-needed memcpy from tx/rx path in shrm net interface.
3. Eliminates use of ph_recv_buf in rx path.
3. Fixes compiler warning in net interface.
4. Updates the protection of writes to shrm fifo.
ST-Ericsson ID: ER326117
Change-Id: I6aac23e20a20efc1f9b8a620db455f53e067f9bd
Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19226
Reviewed-by: Hemant-vilas RAMDASI <hemant.ramdasi@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/shrm_net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/include/mach/shrm_net.h b/arch/arm/mach-ux500/include/mach/shrm_net.h index 4e675a98f3d..a97b276ee15 100644 --- a/arch/arm/mach-ux500/include/mach/shrm_net.h +++ b/arch/arm/mach-ux500/include/mach/shrm_net.h @@ -33,7 +33,7 @@ struct shrm_net_iface_priv { }; int shrm_register_netdev(struct shrm_dev *shrm_dev_data); -int shrm_net_receive(struct net_device *dev, unsigned char *data); +int shrm_net_receive(struct net_device *dev); int shrm_suspend_netdev(struct net_device *dev); int shrm_resume_netdev(struct net_device *dev); int shrm_stop_netdev(struct net_device *dev); |