The initial series is only introducing the basic components and not
implementing IRQ handling. Remove the left over code that touches
IRQs until the proper implementation is introduced in a later series.
Reviewed-by: James Qian Wang (Arm Technology China) <[email protected]>
Signed-off-by: Liviu Dudau <[email protected]>
static int komeda_parse_dt(struct device *dev, struct komeda_dev *mdev)
{
- struct platform_device *pdev = to_platform_device(dev);
struct device_node *child, *np = dev->of_node;
struct clk *clk;
int ret;
return PTR_ERR(clk);
mdev->mclk = clk;
- mdev->irq = platform_get_irq(pdev, 0);
- if (mdev->irq < 0) {
- DRM_ERROR("could not get IRQ number.\n");
- return mdev->irq;
- }
for_each_available_child_of_node(np, child) {
if (of_node_cmp(child->name, "pipeline") == 0) {
/** @mck: HW main engine clk */
struct clk *mclk;
- /** @irq: irq number */
- u32 irq;
-
int n_pipelines;
struct komeda_pipeline *pipelines[KOMEDA_MAX_PIPELINES];
err = drm_dev_register(drm, 0);
if (err)
- goto uninstall_irq;
+ goto cleanup_mode_config;
return kms;
-uninstall_irq:
- drm_irq_uninstall(drm);
cleanup_mode_config:
drm_mode_config_cleanup(drm);
free_kms: