Re: [PATCH v4 2/6] [media] rc-main: split setup and unregister functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> > +	/* rc_open will be called here */
> > +	rc = input_register_device(dev->input_dev);
> > +	if (rc)
> > +		goto out_table;
> > +
> > +	dev->input_dev->dev.parent = &dev->dev;
> > +	memcpy(&dev->input_dev->id, &dev->input_id, sizeof(dev->input_id));
> > +	dev->input_dev->phys = dev->input_phys;
> > +	dev->input_dev->name = dev->input_name;
> 
> I was testing your changes, and with this patch none of my rc devices
> have input devices associated with them. The problem is that you've changed
> the order: input_register_device() should happen AFTER the preceding
> 4 lines.

This must have been a copy paste error and I don't have
transmitters to test it. Thanks for testing it. I will send it
again.

Andi
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux