Re: Handling interrupts in spidev

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

 



Am 28.01.2014 15:12, schrieb Amit Mahadik:
> Thanks Richard. One more question. If I register an SPI irq  struct spi_board_info spi_board_info[] structure in machine board.c file; then the request irq api and irq handler
> should be written in board.c file or in the spidev driver.

Never do any programming in the board file.
The purpose if the board file it describing the hardware.
Please note, board files go away, device tree is the way to go.

Thanks,
//richard

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux