1. 04 6月, 2015 2 次提交
  2. 22 5月, 2015 5 次提交
  3. 21 5月, 2015 3 次提交
  4. 20 5月, 2015 1 次提交
  5. 16 5月, 2015 3 次提交
  6. 15 5月, 2015 22 次提交
    • S
      clk: Kconfig: Move bcm Kconfig into clk menu · 64a12c56
      Stephen Boyd 提交于
      Having this Kconfig sourced outside the clk menu means the option
      is under the "Device Drivers" menu instead of the "Common Clock
      Framework" menu. Move it so that the bcm clock config options are
      in the right place.
      
      Cc: Alex Elder <elder@linaro.org>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      64a12c56
    • S
      clk: u300: Silence sparse warnings · 6c417816
      Stephen Boyd 提交于
      drivers/clk/clk-u300.c:1175:13: warning: symbol 'u300_clk_init' was not declared. Should it be static?
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      6c417816
    • S
      clk: moxart: Silence sparse warnings · 61ad23a1
      Stephen Boyd 提交于
      drivers/clk/clk-moxart.c:18:13: warning: symbol 'moxart_of_pll_clk_init' was not declared. Should it be static?
      drivers/clk/clk-moxart.c:56:13: warning: symbol 'moxart_of_apb_clk_init' was not declared. Should it be static?
      
      Cc: Jonas Jensen <jonas.jensen@gmail.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      61ad23a1
    • S
      clk: xgene: Silence sparse warnings · 6ae5fd38
      Stephen Boyd 提交于
      drivers/clk/clk-xgene.c:77:43: warning: incorrect type in argument 1 (different address spaces)
      drivers/clk/clk-xgene.c:77:43:    expected void *csr
      drivers/clk/clk-xgene.c:77:43:    got void [noderef] <asn:2>*
      ...
      drivers/clk/clk-xgene.c: In function ‘xgene_clk_enable’:
      drivers/clk/clk-xgene.c:237:3: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘phys_addr_t’ [-Wformat]
      drivers/clk/clk-xgene.c:248:3: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘phys_addr_t’ [-Wformat]
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      6ae5fd38
    • S
      clk: mmp: Silence sparse warnings · 52127755
      Stephen Boyd 提交于
      drivers/clk/mmp/clk-apbc.c:118:16: warning: symbol 'clk_apbc_ops' was not declared. Should it be static?
      drivers/clk/mmp/clk-apmu.c:64:16: warning: symbol 'clk_apmu_ops' was not declared. Should it be static?
      
      Cc: Chao Xie <chao.xie@marvell.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      52127755
    • S
      clk: socfpga: Silence sparse warning · e45310bf
      Stephen Boyd 提交于
      drivers/clk/socfpga/clk-periph.c:79:39: warning: Using plain integer as NULL pointer
      
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      e45310bf
    • S
      clk: versatile: Silence sparse warnings · 11bee5e1
      Stephen Boyd 提交于
      drivers/clk/versatile/clk-sp810.c:159:29: error: incompatible types for operation (<=)
      drivers/clk/versatile/clk-sp810.c:159:29:    left side has type char const *<noident>
      drivers/clk/versatile/clk-sp810.c:159:29:    right side has type int
      drivers/clk/versatile/clk-sp810.c:159:53: error: incompatible types for operation (<=)
      drivers/clk/versatile/clk-sp810.c:159:53:    left side has type char const *<noident>
      drivers/clk/versatile/clk-sp810.c:159:53:    right side has type int
      drivers/clk/versatile/clk-sp810.c:138:13: warning: symbol 'clk_sp810_of_setup' was not declared. Should it be static?
      
      Acked: Pawel Moll <pawel.moll@arm.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      11bee5e1
    • S
      clk: ti: Silence sparse warnings · 412d6b47
      Stephen Boyd 提交于
      drivers/clk/ti/clk.c:125:31: warning: incorrect type in return expression (different address spaces)
      drivers/clk/ti/clk.c:125:31:    expected void [noderef] <asn:2>*
      drivers/clk/ti/clk.c:125:31:    got void *
      drivers/clk/ti/clk.c:132:31: warning: incorrect type in return expression (different address spaces)
      drivers/clk/ti/clk.c:132:31:    expected void [noderef] <asn:2>*
      drivers/clk/ti/clk.c:132:31:    got void *
      drivers/clk/ti/dpll.c:180:14: warning: symbol '_get_reg' was not declared. Should it be static?
      drivers/clk/ti/fapll.c:624:32: warning: Using plain integer as NULL pointer
      drivers/clk/ti/fapll.c:625:31: warning: Using plain integer as NULL pointer
      drivers/clk/ti/fapll.c:630:40: warning: Using plain integer as NULL pointer
      drivers/clk/ti/clk-dra7-atl.c:158:22: warning: symbol 'atl_clk_ops' was not declared. Should it be static?
      drivers/clk/ti/clk-dra7-atl.c:170:39: warning: Using plain integer as NULL pointer
      Acked-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
      Acked-by: NTero Kristo <t-kristo@ti.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      412d6b47
    • S
      clk: st: Silence sparse warnings · 8e6dd77c
      Stephen Boyd 提交于
      drivers/clk/st/clkgen-mux.c:134:4: warning: symbol 'clkgena_divmux_get_parent' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:171:15: warning: symbol 'clkgena_divmux_recalc_rate' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:218:12: warning: symbol 'clk_register_genamux' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:388:13: warning: symbol 'st_of_clkgena_divmux_setup' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:488:13: warning: symbol 'st_of_clkgena_prediv_setup' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:625:13: warning: symbol 'st_of_clkgen_mux_setup' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:702:13: warning: symbol 'st_of_clkgen_vcc_setup' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:273:15: warning: symbol 'recalc_stm_pll800c65' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:300:15: warning: symbol 'recalc_stm_pll1600c65' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:324:15: warning: symbol 'recalc_stm_pll3200c32' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:346:15: warning: symbol 'recalc_stm_pll1200c32' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:565:19: warning: incorrect type in assignment (different address spaces)
      drivers/clk/st/clkgen-pll.c:565:19:    expected void [noderef] <asn:2>*reg
      drivers/clk/st/clkgen-pll.c:565:19:    got void *
      drivers/clk/st/clkgen-pll.c:576:18: warning: incorrect type in assignment (different address spaces)
      drivers/clk/st/clkgen-pll.c:576:18:    expected void [noderef] <asn:2>*reg
      drivers/clk/st/clkgen-pll.c:576:18:    got void *
      drivers/clk/st/clkgen-pll.c:693:53: warning: incorrect type in argument 2 (different address spaces)
      drivers/clk/st/clkgen-pll.c:693:53:    expected void *[noderef] <asn:2>reg
      drivers/clk/st/clkgen-pll.c:693:53:    got void [noderef] <asn:2>*[assigned] pll_base
      drivers/clk/st/clkgen-fsyn.c:495:5: warning: symbol 'clk_fs660c32_vco_get_rate' was not declared. Should it be static?
      drivers/clk/st/clkgen-fsyn.c:522:5: warning: symbol 'clk_fs660c32_vco_get_params' was not declared. Should it be static?
      drivers/clk/st/clk-flexgen.c:119:15: warning: symbol 'flexgen_recalc_rate' was not declared. Should it be static?
      drivers/clk/st/clk-flexgen.c:177:12: warning: symbol 'clk_register_flexgen' was not declared. Should it be static?
      drivers/clk/st/clk-flexgen.c:263:13: warning: symbol 'st_of_flexgen_setup' was not declared. Should it be static?
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      8e6dd77c
    • S
      clk: socfpga: Silence sparse warning · b011d386
      Stephen Boyd 提交于
      drivers/clk/socfpga/clk-gate.c:227:40: warning: Using plain integer as NULL pointer
      
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      b011d386
    • S
      clk: sirf: Silence sparse warnings · f53f551b
      Stephen Boyd 提交于
      These are __iomem pointers. Mark them appropriately so we don't
      get sparse errors like
      
      drivers/clk/sirf/clk-common.c:60:16: warning: incorrect type in argument 1 (different address spaces)
      drivers/clk/sirf/clk-common.c:60:16:    expected void const volatile [noderef] <asn:2>*addr
      drivers/clk/sirf/clk-common.c:60:16:    got void *
      
      Cc: Barry Song <Baohua.Song@csr.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      f53f551b
    • S
      clk: emev2: Silence sparse warnings · 43f53570
      Stephen Boyd 提交于
      drivers/clk/shmobile/clk-emev2.c:37:14: warning: symbol 'smu_base' was not declared. Should it be static?
      
      Cc: Takashi Yoshii <takasi-y@ops.dti.ne.jp>
      Cc: Magnus Damm <damm@opensource.se>
      Acked-by: NSimon Horman <horms+renesas@verge.net.au>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      43f53570
    • S
      clk: samsung: Silence sparse warnings · f6704f9e
      Stephen Boyd 提交于
      drivers/clk/samsung/clk-exynos5260.c:138:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:328:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:392:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:494:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:583:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:644:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:779:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:898:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:962:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:1018:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:1165:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:1373:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:1829:40: warning: Using plain integer as NULL pointer
      Acked-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      f6704f9e
    • S
      clk: hix5hd2: Silence sparse warnings · 4a77f817
      Stephen Boyd 提交于
      drivers/clk/hisilicon/clk-hix5hd2.c:255:13: warning: symbol 'hix5hd2_clk_register_complex' was not declared. Should it be static?
      Acked-by: NZhangfei Gao <zhangfei.gao@linaro.org>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      4a77f817
    • S
      clk: berlin: Silence sparse warning · 47c18e4c
      Stephen Boyd 提交于
      drivers/clk/berlin/berlin2-pll.c:94:12: warning: symbol 'berlin2_pll_register' was not declared. Should it be static?
      
      Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
      Acked-by: NSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      47c18e4c
    • S
      clk: bcm/kona: Remove ccu_list · 7926b3f8
      Stephen Boyd 提交于
      This list doesn't look to be used. Let's remove it and any
      associated code that would be manipulating this list. This also
      silences this error:
      
      drivers/clk/bcm/clk-kona-setup.c:24:1: warning: symbol 'ccu_list' was not declared. Should it be static?
      Reviewed-by: NAlex Elder <elder@linaro.org>
      Cc: Tim Kryger <tim.kryger@linaro.org>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      7926b3f8
    • S
      clk: bcm/kona: Silence sparse warnings · 4cca1be4
      Stephen Boyd 提交于
      drivers/clk/bcm/clk-kona.c:1243:16: warning: odd constant _Bool cast (ffffffffffffffea becomes 1)
      Reviewed-by: NAlex Elder <elder@linaro.org>
      Cc: Tim Kryger <tim.kryger@linaro.org>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      4cca1be4
    • S
      clk: max-gen: Silence sparse warnings · 9a39222d
      Stephen Boyd 提交于
      drivers/clk/clk-max-gen.c:82:16: warning: symbol 'max_gen_clk_ops' was not declared. Should it be static?
      drivers/clk/clk-max-gen.c:109:5: warning: symbol 'max_gen_clk_probe' was not declared. Should it be static?
      drivers/clk/clk-max-gen.c:183:5: warning: symbol 'max_gen_clk_remove' was not declared. Should it be static?
      Acked-by: NJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      9a39222d
    • S
      clk: Silence sparse warnings about __clk_{get,put}() · 562ef0b0
      Stephen Boyd 提交于
      drivers/clk/clk.c:2700:5: warning: symbol '__clk_get' was not declared. Should it be static?
      drivers/clk/clk.c:2713:6: warning: symbol '__clk_put' was not declared. Should it be static?
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      562ef0b0
    • S
      clk: gpio-gate: Don't export __init functions · 2bb5d1b8
      Stephen Boyd 提交于
      This function is marked as __init, so exposing it to modules
      doesn't make any sense and it isn't used by modules anyway.
      
      drivers/clk/clk-gpio-gate.c:192:13: warning: symbol 'of_gpio_gate_clk_setup' was not declared. Should it be static?
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      2bb5d1b8
    • S
      clk: basic-types: Remove useless allocation failure printks · d122db7e
      Stephen Boyd 提交于
      Printing an error on kmalloc() failures is unnecessary. Remove
      the print and use *ptr in sizeof() for future-proof code.
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      d122db7e
    • K
      clk: ti: dra7-atl-clock: Fix possible ERR_PTR dereference · e0cdcda5
      Krzysztof Kozlowski 提交于
      of_clk_get_from_provider() returns ERR_PTR on failure. The
      dra7-atl-clock driver was not checking its return value and
      immediately used it in __clk_get_hw().  __clk_get_hw()
      dereferences supplied clock, if it is not NULL, so in that case
      it would dereference an ERR_PTR.
      
      Fixes: 9ac33b0c ("CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic)")
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      e0cdcda5
  7. 14 5月, 2015 4 次提交