From: Paul Mundt Date: Fri, 18 May 2012 09:21:06 +0000 (+0900) Subject: serial: sh-sci: Fix for port types without BRI interrupts. X-Git-Tag: v3.5-rc1~134^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e8963de1fe95e7fbc30c79c1dbc7cb1ea0cf699;p=pandora-kernel.git serial: sh-sci: Fix for port types without BRI interrupts. In doing the evt2irq() + muxed vector conversion for various port types it became apparent that some of the legacy port types will presently error out due to the irq requesting logic attempting to acquire the non-existent BRI IRQ. This adds some sanity checks to the request/free path to ensure that non-existence of a source in itself is not an error. This should restore functionality for legacy PORT_SCI ports. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed