summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorKumar Sanghvi <kumar.sanghvi@stericsson.com>2011-03-26 13:53:09 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:07:09 +0200
commit799343c4798be4d6234b7e95c15ad2d5d7c594d4 (patch)
treec56b5539b4a20c37327be4a71471d72cc823e6e7 /arch/arm/mach-ux500
parent16ad59e9bbd7ae65bdc0e906402a3352842efd17 (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/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/include/mach/shrm_net.h2
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);