From: Arend van Spriel Date: Mon, 6 Jan 2014 11:40:45 +0000 (+0100) Subject: brcmfmac: only disable clock when brcmf_sdio_bus_init() fails X-Git-Tag: v3.14-rc1~94^2~238^2^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76a4c6817c28dbc91fab8c366a177fa7215b2811;p=pandora-kernel.git brcmfmac: only disable clock when brcmf_sdio_bus_init() fails The condition to disable the clock at the end of brcmf_sdio_bus_init() was wrong as the bus state is updated by the calling function. Hence, the clock was always disabled after brcmf_sdio_bus_init() which was not the intended behaviour. Reviewed-by: Hante Meuleman Reviewed-by: Franky Lin Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed