summaryrefslogtreecommitdiff
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorEduardo Valentin <edubezval@gmail.com>2015-08-11 20:21:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-15 03:23:25 +0300
commit9e7b399d6528eac33a6fbfceb2b92af209c3454d (patch)
tree0d6a624fd74f7312c44ded789a8523c8e0235e05 /drivers/scsi/sd.c
parenteafb9eea7622d765effb1a06f8cf5eb31fa018f6 (diff)
downloadlinux-9e7b399d6528eac33a6fbfceb2b92af209c3454d.tar.xz
serial: imx: remove unbalanced clk_prepare
The current code attempts to prepare clk_per and clk_ipg before using the device. However, the result is an extra prepare call on each clock. Here is the output of uart clocks (only uart enabled and used as console): $ grep uart /sys/kernel/debug/clk/clk_summary uart_serial 1 2 80000000 0 0 uart 1 2 66000000 0 0 This patch balances the calls of prepares. The result is: $ grep uart /sys/kernel/debug/clk/clk_summary uart_serial 1 1 80000000 0 0 uart 1 1 66000000 0 0 Cc: Fabio Estevam <festevam@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.com> Cc: linux-serial@vger.kernel.org Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/sd.c')
0 files changed, 0 insertions, 0 deletions