Commit ddfe53d1 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'cleanup-for-v3.18' of...

Merge tag 'cleanup-for-v3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/cleanup

Pull "Clean-up for omaps for v3.18 merge window" from Tony Lindgren:

- Remove unused pieces of the legacy DMA API as we're moving to
  dmaengine API

- Search and replace to standardize on pr_warn instead of pr_warning
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>

* tag 'cleanup-for-v3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  arm: mach-omap2: Convert pr_warning to pr_warn
  ARM: OMAP: Remove unused pieces of legacy DMA API
parents 2b3a47d7 3d0cb73e
...@@ -544,7 +544,7 @@ int omap_dss_reset(struct omap_hwmod *oh) ...@@ -544,7 +544,7 @@ int omap_dss_reset(struct omap_hwmod *oh)
MAX_MODULE_SOFTRESET_WAIT, c); MAX_MODULE_SOFTRESET_WAIT, c);
if (c == MAX_MODULE_SOFTRESET_WAIT) if (c == MAX_MODULE_SOFTRESET_WAIT)
pr_warning("dss_core: waiting for reset to finish failed\n"); pr_warn("dss_core: waiting for reset to finish failed\n");
else else
pr_debug("dss_core: softreset done\n"); pr_debug("dss_core: softreset done\n");
......
...@@ -67,8 +67,8 @@ int omap_hdq1w_reset(struct omap_hwmod *oh) ...@@ -67,8 +67,8 @@ int omap_hdq1w_reset(struct omap_hwmod *oh)
MAX_MODULE_SOFTRESET_WAIT, c); MAX_MODULE_SOFTRESET_WAIT, c);
if (c == MAX_MODULE_SOFTRESET_WAIT) if (c == MAX_MODULE_SOFTRESET_WAIT)
pr_warning("%s: %s: softreset failed (waited %d usec)\n", pr_warn("%s: %s: softreset failed (waited %d usec)\n",
__func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT);
else else
pr_debug("%s: %s: softreset in %d usec\n", __func__, pr_debug("%s: %s: softreset in %d usec\n", __func__,
oh->name, c); oh->name, c);
......
...@@ -99,7 +99,7 @@ int omap_i2c_reset(struct omap_hwmod *oh) ...@@ -99,7 +99,7 @@ int omap_i2c_reset(struct omap_hwmod *oh)
MAX_MODULE_SOFTRESET_WAIT, c); MAX_MODULE_SOFTRESET_WAIT, c);
if (c == MAX_MODULE_SOFTRESET_WAIT) if (c == MAX_MODULE_SOFTRESET_WAIT)
pr_warning("%s: %s: softreset failed (waited %d usec)\n", pr_warn("%s: %s: softreset failed (waited %d usec)\n",
__func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT);
else else
pr_debug("%s: %s: softreset in %d usec\n", __func__, pr_debug("%s: %s: softreset in %d usec\n", __func__,
......
...@@ -76,8 +76,8 @@ int omap_msdi_reset(struct omap_hwmod *oh) ...@@ -76,8 +76,8 @@ int omap_msdi_reset(struct omap_hwmod *oh)
MAX_MODULE_SOFTRESET_WAIT, c); MAX_MODULE_SOFTRESET_WAIT, c);
if (c == MAX_MODULE_SOFTRESET_WAIT) if (c == MAX_MODULE_SOFTRESET_WAIT)
pr_warning("%s: %s: softreset failed (waited %d usec)\n", pr_warn("%s: %s: softreset failed (waited %d usec)\n",
__func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT);
else else
pr_debug("%s: %s: softreset in %d usec\n", __func__, pr_debug("%s: %s: softreset in %d usec\n", __func__,
oh->name, c); oh->name, c);
......
...@@ -814,7 +814,7 @@ int __init omap_mux_late_init(void) ...@@ -814,7 +814,7 @@ int __init omap_mux_late_init(void)
"hwmod_io", omap_mux_late_init); "hwmod_io", omap_mux_late_init);
if (ret) if (ret)
pr_warning("mux: Failed to setup hwmod io irq %d\n", ret); pr_warn("mux: Failed to setup hwmod io irq %d\n", ret);
return 0; return 0;
} }
......
...@@ -769,8 +769,8 @@ static int _init_main_clk(struct omap_hwmod *oh) ...@@ -769,8 +769,8 @@ static int _init_main_clk(struct omap_hwmod *oh)
oh->_clk = clk_get(NULL, oh->main_clk); oh->_clk = clk_get(NULL, oh->main_clk);
if (IS_ERR(oh->_clk)) { if (IS_ERR(oh->_clk)) {
pr_warning("omap_hwmod: %s: cannot clk_get main_clk %s\n", pr_warn("omap_hwmod: %s: cannot clk_get main_clk %s\n",
oh->name, oh->main_clk); oh->name, oh->main_clk);
return -EINVAL; return -EINVAL;
} }
/* /*
...@@ -814,8 +814,8 @@ static int _init_interface_clks(struct omap_hwmod *oh) ...@@ -814,8 +814,8 @@ static int _init_interface_clks(struct omap_hwmod *oh)
c = clk_get(NULL, os->clk); c = clk_get(NULL, os->clk);
if (IS_ERR(c)) { if (IS_ERR(c)) {
pr_warning("omap_hwmod: %s: cannot clk_get interface_clk %s\n", pr_warn("omap_hwmod: %s: cannot clk_get interface_clk %s\n",
oh->name, os->clk); oh->name, os->clk);
ret = -EINVAL; ret = -EINVAL;
continue; continue;
} }
...@@ -851,8 +851,8 @@ static int _init_opt_clks(struct omap_hwmod *oh) ...@@ -851,8 +851,8 @@ static int _init_opt_clks(struct omap_hwmod *oh)
for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) { for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) {
c = clk_get(NULL, oc->clk); c = clk_get(NULL, oc->clk);
if (IS_ERR(c)) { if (IS_ERR(c)) {
pr_warning("omap_hwmod: %s: cannot clk_get opt_clk %s\n", pr_warn("omap_hwmod: %s: cannot clk_get opt_clk %s\n",
oh->name, oc->clk); oh->name, oc->clk);
ret = -EINVAL; ret = -EINVAL;
continue; continue;
} }
...@@ -1576,7 +1576,7 @@ static int _init_clkdm(struct omap_hwmod *oh) ...@@ -1576,7 +1576,7 @@ static int _init_clkdm(struct omap_hwmod *oh)
oh->clkdm = clkdm_lookup(oh->clkdm_name); oh->clkdm = clkdm_lookup(oh->clkdm_name);
if (!oh->clkdm) { if (!oh->clkdm) {
pr_warning("omap_hwmod: %s: could not associate to clkdm %s\n", pr_warn("omap_hwmod: %s: could not associate to clkdm %s\n",
oh->name, oh->clkdm_name); oh->name, oh->clkdm_name);
return 0; return 0;
} }
...@@ -1616,7 +1616,7 @@ static int _init_clocks(struct omap_hwmod *oh, void *data) ...@@ -1616,7 +1616,7 @@ static int _init_clocks(struct omap_hwmod *oh, void *data)
if (!ret) if (!ret)
oh->_state = _HWMOD_STATE_CLKS_INITED; oh->_state = _HWMOD_STATE_CLKS_INITED;
else else
pr_warning("omap_hwmod: %s: cannot _init_clocks\n", oh->name); pr_warn("omap_hwmod: %s: cannot _init_clocks\n", oh->name);
return ret; return ret;
} }
...@@ -1739,7 +1739,7 @@ static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) ...@@ -1739,7 +1739,7 @@ static int _deassert_hardreset(struct omap_hwmod *oh, const char *name)
_disable_clocks(oh); _disable_clocks(oh);
if (ret == -EBUSY) if (ret == -EBUSY)
pr_warning("omap_hwmod: %s: failed to hardreset\n", oh->name); pr_warn("omap_hwmod: %s: failed to hardreset\n", oh->name);
if (!ret) { if (!ret) {
/* /*
...@@ -1953,8 +1953,8 @@ static int _ocp_softreset(struct omap_hwmod *oh) ...@@ -1953,8 +1953,8 @@ static int _ocp_softreset(struct omap_hwmod *oh)
c = _wait_softreset_complete(oh); c = _wait_softreset_complete(oh);
if (c == MAX_MODULE_SOFTRESET_WAIT) { if (c == MAX_MODULE_SOFTRESET_WAIT) {
pr_warning("omap_hwmod: %s: softreset failed (waited %d usec)\n", pr_warn("omap_hwmod: %s: softreset failed (waited %d usec)\n",
oh->name, MAX_MODULE_SOFTRESET_WAIT); oh->name, MAX_MODULE_SOFTRESET_WAIT);
ret = -ETIMEDOUT; ret = -ETIMEDOUT;
goto dis_opt_clks; goto dis_opt_clks;
} else { } else {
...@@ -2618,8 +2618,8 @@ static int __init _setup_reset(struct omap_hwmod *oh) ...@@ -2618,8 +2618,8 @@ static int __init _setup_reset(struct omap_hwmod *oh)
if (oh->rst_lines_cnt == 0) { if (oh->rst_lines_cnt == 0) {
r = _enable(oh); r = _enable(oh);
if (r) { if (r) {
pr_warning("omap_hwmod: %s: cannot be enabled for reset (%d)\n", pr_warn("omap_hwmod: %s: cannot be enabled for reset (%d)\n",
oh->name, oh->_state); oh->name, oh->_state);
return -EINVAL; return -EINVAL;
} }
} }
......
...@@ -244,8 +244,8 @@ static void __init nokia_n900_legacy_init(void) ...@@ -244,8 +244,8 @@ static void __init nokia_n900_legacy_init(void)
/* set IBE to 1 */ /* set IBE to 1 */
rx51_secure_update_aux_cr(BIT(6), 0); rx51_secure_update_aux_cr(BIT(6), 0);
} else { } else {
pr_warning("RX-51: Not enabling ARM errata 430973 workaround\n"); pr_warn("RX-51: Not enabling ARM errata 430973 workaround\n");
pr_warning("Thumb binaries may crash randomly without this workaround\n"); pr_warn("Thumb binaries may crash randomly without this workaround\n");
} }
pr_info("RX-51: Registring OMAP3 HWRNG device\n"); pr_info("RX-51: Registring OMAP3 HWRNG device\n");
......
...@@ -465,7 +465,7 @@ int __init omap3_pm_init(void) ...@@ -465,7 +465,7 @@ int __init omap3_pm_init(void)
int ret; int ret;
if (!omap3_has_io_chain_ctrl()) if (!omap3_has_io_chain_ctrl())
pr_warning("PM: no software I/O chain control; some wakeups may be lost\n"); pr_warn("PM: no software I/O chain control; some wakeups may be lost\n");
pm_errata_configure(); pm_errata_configure();
......
...@@ -20,8 +20,8 @@ static int sr_class3_enable(struct omap_sr *sr) ...@@ -20,8 +20,8 @@ static int sr_class3_enable(struct omap_sr *sr)
unsigned long volt = voltdm_get_voltage(sr->voltdm); unsigned long volt = voltdm_get_voltage(sr->voltdm);
if (!volt) { if (!volt) {
pr_warning("%s: Curr voltage unknown. Cannot enable %s\n", pr_warn("%s: Curr voltage unknown. Cannot enable %s\n",
__func__, sr->name); __func__, sr->name);
return -ENODATA; return -ENODATA;
} }
......
...@@ -154,7 +154,7 @@ static int __init sr_dev_init(struct omap_hwmod *oh, void *user) ...@@ -154,7 +154,7 @@ static int __init sr_dev_init(struct omap_hwmod *oh, void *user)
pdev = omap_device_build(name, i, oh, sr_data, sizeof(*sr_data)); pdev = omap_device_build(name, i, oh, sr_data, sizeof(*sr_data));
if (IS_ERR(pdev)) if (IS_ERR(pdev))
pr_warning("%s: Could not build omap_device for %s: %s.\n\n", pr_warn("%s: Could not build omap_device for %s: %s\n",
__func__, name, oh->name); __func__, name, oh->name);
exit: exit:
i++; i++;
......
...@@ -198,7 +198,7 @@ int omap_vc_bypass_scale(struct voltagedomain *voltdm, ...@@ -198,7 +198,7 @@ int omap_vc_bypass_scale(struct voltagedomain *voltdm,
loop_cnt++; loop_cnt++;
if (retries_cnt > 10) { if (retries_cnt > 10) {
pr_warning("%s: Retry count exceeded\n", __func__); pr_warn("%s: Retry count exceeded\n", __func__);
return -ETIMEDOUT; return -ETIMEDOUT;
} }
......
...@@ -55,7 +55,7 @@ static LIST_HEAD(voltdm_list); ...@@ -55,7 +55,7 @@ static LIST_HEAD(voltdm_list);
unsigned long voltdm_get_voltage(struct voltagedomain *voltdm) unsigned long voltdm_get_voltage(struct voltagedomain *voltdm)
{ {
if (!voltdm || IS_ERR(voltdm)) { if (!voltdm || IS_ERR(voltdm)) {
pr_warning("%s: VDD specified does not exist!\n", __func__); pr_warn("%s: VDD specified does not exist!\n", __func__);
return 0; return 0;
} }
...@@ -77,7 +77,7 @@ int voltdm_scale(struct voltagedomain *voltdm, ...@@ -77,7 +77,7 @@ int voltdm_scale(struct voltagedomain *voltdm,
unsigned long volt = 0; unsigned long volt = 0;
if (!voltdm || IS_ERR(voltdm)) { if (!voltdm || IS_ERR(voltdm)) {
pr_warning("%s: VDD specified does not exist!\n", __func__); pr_warn("%s: VDD specified does not exist!\n", __func__);
return -EINVAL; return -EINVAL;
} }
...@@ -96,8 +96,8 @@ int voltdm_scale(struct voltagedomain *voltdm, ...@@ -96,8 +96,8 @@ int voltdm_scale(struct voltagedomain *voltdm,
} }
if (!volt) { if (!volt) {
pr_warning("%s: not scaling. OPP voltage for %lu, not found.\n", pr_warn("%s: not scaling. OPP voltage for %lu, not found.\n",
__func__, target_volt); __func__, target_volt);
return -EINVAL; return -EINVAL;
} }
...@@ -122,7 +122,7 @@ void voltdm_reset(struct voltagedomain *voltdm) ...@@ -122,7 +122,7 @@ void voltdm_reset(struct voltagedomain *voltdm)
unsigned long target_volt; unsigned long target_volt;
if (!voltdm || IS_ERR(voltdm)) { if (!voltdm || IS_ERR(voltdm)) {
pr_warning("%s: VDD specified does not exist!\n", __func__); pr_warn("%s: VDD specified does not exist!\n", __func__);
return; return;
} }
...@@ -152,7 +152,7 @@ void omap_voltage_get_volttable(struct voltagedomain *voltdm, ...@@ -152,7 +152,7 @@ void omap_voltage_get_volttable(struct voltagedomain *voltdm,
struct omap_volt_data **volt_data) struct omap_volt_data **volt_data)
{ {
if (!voltdm || IS_ERR(voltdm)) { if (!voltdm || IS_ERR(voltdm)) {
pr_warning("%s: VDD specified does not exist!\n", __func__); pr_warn("%s: VDD specified does not exist!\n", __func__);
return; return;
} }
...@@ -180,12 +180,12 @@ struct omap_volt_data *omap_voltage_get_voltdata(struct voltagedomain *voltdm, ...@@ -180,12 +180,12 @@ struct omap_volt_data *omap_voltage_get_voltdata(struct voltagedomain *voltdm,
int i; int i;
if (!voltdm || IS_ERR(voltdm)) { if (!voltdm || IS_ERR(voltdm)) {
pr_warning("%s: VDD specified does not exist!\n", __func__); pr_warn("%s: VDD specified does not exist!\n", __func__);
return ERR_PTR(-EINVAL); return ERR_PTR(-EINVAL);
} }
if (!voltdm->volt_data) { if (!voltdm->volt_data) {
pr_warning("%s: voltage table does not exist for vdd_%s\n", pr_warn("%s: voltage table does not exist for vdd_%s\n",
__func__, voltdm->name); __func__, voltdm->name);
return ERR_PTR(-ENODATA); return ERR_PTR(-ENODATA);
} }
...@@ -214,7 +214,7 @@ int omap_voltage_register_pmic(struct voltagedomain *voltdm, ...@@ -214,7 +214,7 @@ int omap_voltage_register_pmic(struct voltagedomain *voltdm,
struct omap_voltdm_pmic *pmic) struct omap_voltdm_pmic *pmic)
{ {
if (!voltdm || IS_ERR(voltdm)) { if (!voltdm || IS_ERR(voltdm)) {
pr_warning("%s: VDD specified does not exist!\n", __func__); pr_warn("%s: VDD specified does not exist!\n", __func__);
return -EINVAL; return -EINVAL;
} }
...@@ -237,7 +237,7 @@ void omap_change_voltscale_method(struct voltagedomain *voltdm, ...@@ -237,7 +237,7 @@ void omap_change_voltscale_method(struct voltagedomain *voltdm,
int voltscale_method) int voltscale_method)
{ {
if (!voltdm || IS_ERR(voltdm)) { if (!voltdm || IS_ERR(voltdm)) {
pr_warning("%s: VDD specified does not exist!\n", __func__); pr_warn("%s: VDD specified does not exist!\n", __func__);
return; return;
} }
...@@ -279,7 +279,7 @@ int __init omap_voltage_late_init(void) ...@@ -279,7 +279,7 @@ int __init omap_voltage_late_init(void)
sys_ck = clk_get(NULL, voltdm->sys_clk.name); sys_ck = clk_get(NULL, voltdm->sys_clk.name);
if (IS_ERR(sys_ck)) { if (IS_ERR(sys_ck)) {
pr_warning("%s: Could not get sys clk.\n", __func__); pr_warn("%s: Could not get sys clk.\n", __func__);
return -EINVAL; return -EINVAL;
} }
voltdm->sys_clk.rate = clk_get_rate(sys_ck); voltdm->sys_clk.rate = clk_get_rate(sys_ck);
......
...@@ -93,8 +93,8 @@ int omap2_wd_timer_reset(struct omap_hwmod *oh) ...@@ -93,8 +93,8 @@ int omap2_wd_timer_reset(struct omap_hwmod *oh)
udelay(oh->class->sysc->srst_udelay); udelay(oh->class->sysc->srst_udelay);
if (c == MAX_MODULE_SOFTRESET_WAIT) if (c == MAX_MODULE_SOFTRESET_WAIT)
pr_warning("%s: %s: softreset failed (waited %d usec)\n", pr_warn("%s: %s: softreset failed (waited %d usec)\n",
__func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT);
else else
pr_debug("%s: %s: softreset in %d usec\n", __func__, pr_debug("%s: %s: softreset in %d usec\n", __func__,
oh->name, c); oh->name, c);
......
This diff is collapsed.
...@@ -306,15 +306,12 @@ extern void omap_set_dma_transfer_params(int lch, int data_type, ...@@ -306,15 +306,12 @@ extern void omap_set_dma_transfer_params(int lch, int data_type,
int elem_count, int frame_count, int elem_count, int frame_count,
int sync_mode, int sync_mode,
int dma_trigger, int src_or_dst_synch); int dma_trigger, int src_or_dst_synch);
extern void omap_set_dma_color_mode(int lch, enum omap_dma_color_mode mode,
u32 color);
extern void omap_set_dma_write_mode(int lch, enum omap_dma_write_mode mode); extern void omap_set_dma_write_mode(int lch, enum omap_dma_write_mode mode);
extern void omap_set_dma_channel_mode(int lch, enum omap_dma_channel_mode mode); extern void omap_set_dma_channel_mode(int lch, enum omap_dma_channel_mode mode);
extern void omap_set_dma_src_params(int lch, int src_port, int src_amode, extern void omap_set_dma_src_params(int lch, int src_port, int src_amode,
unsigned long src_start, unsigned long src_start,
int src_ei, int src_fi); int src_ei, int src_fi);
extern void omap_set_dma_src_index(int lch, int eidx, int fidx);
extern void omap_set_dma_src_data_pack(int lch, int enable); extern void omap_set_dma_src_data_pack(int lch, int enable);
extern void omap_set_dma_src_burst_mode(int lch, extern void omap_set_dma_src_burst_mode(int lch,
enum omap_dma_burst_mode burst_mode); enum omap_dma_burst_mode burst_mode);
...@@ -322,7 +319,6 @@ extern void omap_set_dma_src_burst_mode(int lch, ...@@ -322,7 +319,6 @@ extern void omap_set_dma_src_burst_mode(int lch,
extern void omap_set_dma_dest_params(int lch, int dest_port, int dest_amode, extern void omap_set_dma_dest_params(int lch, int dest_port, int dest_amode,
unsigned long dest_start, unsigned long dest_start,
int dst_ei, int dst_fi); int dst_ei, int dst_fi);
extern void omap_set_dma_dest_index(int lch, int eidx, int fidx);
extern void omap_set_dma_dest_data_pack(int lch, int enable); extern void omap_set_dma_dest_data_pack(int lch, int enable);
extern void omap_set_dma_dest_burst_mode(int lch, extern void omap_set_dma_dest_burst_mode(int lch,
enum omap_dma_burst_mode burst_mode); enum omap_dma_burst_mode burst_mode);
...@@ -331,52 +327,19 @@ extern void omap_set_dma_params(int lch, ...@@ -331,52 +327,19 @@ extern void omap_set_dma_params(int lch,
struct omap_dma_channel_params *params); struct omap_dma_channel_params *params);
extern void omap_dma_link_lch(int lch_head, int lch_queue); extern void omap_dma_link_lch(int lch_head, int lch_queue);
extern void omap_dma_unlink_lch(int lch_head, int lch_queue);
extern int omap_set_dma_callback(int lch, extern int omap_set_dma_callback(int lch,
void (*callback)(int lch, u16 ch_status, void *data), void (*callback)(int lch, u16 ch_status, void *data),
void *data); void *data);
extern dma_addr_t omap_get_dma_src_pos(int lch); extern dma_addr_t omap_get_dma_src_pos(int lch);
extern dma_addr_t omap_get_dma_dst_pos(int lch); extern dma_addr_t omap_get_dma_dst_pos(int lch);
extern void omap_clear_dma(int lch);
extern int omap_get_dma_active_status(int lch); extern int omap_get_dma_active_status(int lch);
extern int omap_dma_running(void); extern int omap_dma_running(void);
extern void omap_dma_set_global_params(int arb_rate, int max_fifo_depth, extern void omap_dma_set_global_params(int arb_rate, int max_fifo_depth,
int tparams); int tparams);
extern int omap_dma_set_prio_lch(int lch, unsigned char read_prio,
unsigned char write_prio);
extern void omap_set_dma_dst_endian_type(int lch, enum end_type etype);
extern void omap_set_dma_src_endian_type(int lch, enum end_type etype);
extern int omap_get_dma_index(int lch, int *ei, int *fi);
void omap_dma_global_context_save(void); void omap_dma_global_context_save(void);
void omap_dma_global_context_restore(void); void omap_dma_global_context_restore(void);
extern void omap_dma_disable_irq(int lch);
/* Chaining APIs */
#ifndef CONFIG_ARCH_OMAP1
extern int omap_request_dma_chain(int dev_id, const char *dev_name,
void (*callback) (int lch, u16 ch_status,
void *data),
int *chain_id, int no_of_chans,
int chain_mode,
struct omap_dma_channel_params params);
extern int omap_free_dma_chain(int chain_id);
extern int omap_dma_chain_a_transfer(int chain_id, int src_start,
int dest_start, int elem_count,
int frame_count, void *callbk_data);
extern int omap_start_dma_chain_transfers(int chain_id);
extern int omap_stop_dma_chain_transfers(int chain_id);
extern int omap_get_dma_chain_index(int chain_id, int *ei, int *fi);
extern int omap_get_dma_chain_dst_pos(int chain_id);
extern int omap_get_dma_chain_src_pos(int chain_id);
extern int omap_modify_dma_chain_params(int chain_id,
struct omap_dma_channel_params params);
extern int omap_dma_chain_status(int chain_id);
#endif
#if defined(CONFIG_ARCH_OMAP1) && IS_ENABLED(CONFIG_FB_OMAP) #if defined(CONFIG_ARCH_OMAP1) && IS_ENABLED(CONFIG_FB_OMAP)
#include <mach/lcd_dma.h> #include <mach/lcd_dma.h>
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment