mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
misc: cec: fix warnings
tegra_cec.c: fix warnings as compilation fails after enabling warning as errors flag Bug 1258710 Change-Id: Iecd3051d482f5a7488c9f95f6124ad39371f0bd9 Signed-off-by: Benjamin Lu <benjaminl@nvidia.com> Reviewed-on: http://git-master/r/1164136 (cherry picked from commit 8112e3cd46d11eca51e95cc2fed66d2f7946553a)
This commit is contained in:
committed by
Prafull Suryawanshi
parent
9f3804e6cd
commit
9723602a96
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* drivers/misc/tegra-cec/tegra_cec.c
|
||||
*
|
||||
* Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
@@ -185,11 +185,11 @@ static void tegra_cec_init(struct tegra_cec *cec)
|
||||
|
||||
writel(0x00, cec->cec_base + TEGRA_CEC_SW_CONTROL);
|
||||
|
||||
writel((TEGRA_CEC_LOGICAL_ADDR<<TEGRA_CEC_HW_CONTROL_RX_LOGICAL_ADDRS_MASK)&
|
||||
writel(((TEGRA_CEC_LOGICAL_ADDR<<TEGRA_CEC_HW_CONTROL_RX_LOGICAL_ADDRS_MASK)&
|
||||
(~TEGRA_CEC_HW_CONTROL_RX_SNOOP) &
|
||||
(~TEGRA_CEC_HW_CONTROL_RX_NAK_MODE) &
|
||||
(~TEGRA_CEC_HW_CONTROL_TX_NAK_MODE) &
|
||||
(~TEGRA_CEC_HW_CONTROL_FAST_SIM_MODE) |
|
||||
(~TEGRA_CEC_HW_CONTROL_FAST_SIM_MODE)) |
|
||||
(TEGRA_CEC_HW_CONTROL_TX_RX_MODE),
|
||||
cec->cec_base + TEGRA_CEC_HW_CONTROL);
|
||||
|
||||
@@ -328,7 +328,7 @@ static int __devinit tegra_cec_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
|
||||
cec_error:
|
||||
clk_disable(cec->clk)
|
||||
clk_disable(cec->clk);
|
||||
clk_put(cec->clk);
|
||||
clk_error:
|
||||
return ret;
|
||||
@@ -338,7 +338,7 @@ static int tegra_cec_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct tegra_cec *cec = platform_get_drvdata(pdev);
|
||||
|
||||
clk_disable(cec->clk)
|
||||
clk_disable(cec->clk);
|
||||
clk_put(cec->clk);
|
||||
|
||||
misc_deregister(&cec->misc_dev);
|
||||
|
||||
Reference in New Issue
Block a user