power: bq2419x: acquire mutex lock
authorKunal Agrawal <kunala@nvidia.com>
Thu, 31 Jan 2013 03:47:41 +0000 (08:47 +0530)
committerRiham Haidar <rhaidar@nvidia.com>
Fri, 1 Feb 2013 03:04:02 +0000 (19:04 -0800)
commit33ff448f896cd24c5ea6bb0c699d3dddca6baae9
tree7d648c9269123a8c583eb1fe61f829cab2f61d3d
parent0adf09de7c8f58892cb05483a2f718fe0674fb93
power: bq2419x: acquire mutex lock

add changes to acquire mutex lock at the start of the function.

Bug 1225027

Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Change-Id: I2a7b9cb243fa45590039be635d85f4245823baed
Reviewed-on: http://git-master/r/195821
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/power/bq2419x-charger.c