]> git.hungrycats.org Git - linux/commit
i2c/powermac: Improve detection of devices from device-tree
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 18 Jun 2012 02:00:50 +0000 (12:00 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:58 +0000 (10:39 -0700)
commita07d6f9f4536af97bcb0d387d7280b1f4568b109
tree5d9d8498445e77bb1cbafe0d44f0168034da0612
parenta122873c3232b60cfbbd58ab58c906926dba7dc0
i2c/powermac: Improve detection of devices from device-tree

commit 3a3dd0186f619b74e61e6f29dddcaf59af7d3cac upstream.

This patch adds a number of workarounds for broken Apple device-trees
mostly around sound chips. It handles creating the missing audio codec
devices and works around various issues with missing addresses or
missing compatible properties.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Michel Dänzer <michel@daenzer.net>
Cc: Elimar Riesebieter <riesebie@lxtec.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/i2c-powermac.c