https://github.com/torvalds/linux
Revision 6e1babb3ff2651376f2e9843569fcb39cfe4686b authored by Tony Prisk on 14 October 2012, 03:22:35 UTC, committed by Greg Kroah-Hartman on 17 October 2012, 20:42:29 UTC
Device-tree probed devices don't get a dev.dma_mask set. This patch
sets a default 32bit mask on arch-vt8500 when using devicetree.

Without this patch, arch-vt8500 cannot detect ehci attached devices.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 09eeffb
Raw File
Tip revision: 6e1babb3ff2651376f2e9843569fcb39cfe4686b authored by Tony Prisk on 14 October 2012, 03:22:35 UTC
usb: Missing dma_mask in ehci-vt8500.c when probed from device-tree
Tip revision: 6e1babb
headers.sh
#!/bin/sh
# Run headers_$1 command for all suitable architectures

# Stop on error
set -e

do_command()
{
	if [ -f ${srctree}/arch/$2/include/asm/Kbuild ]; then
		make ARCH=$2 KBUILD_HEADERS=$1 headers_$1
	else
		printf "Ignoring arch: %s\n" ${arch}
	fi
}

archs=${HDR_ARCH_LIST:-$(ls ${srctree}/arch)}

for arch in ${archs}; do
	case ${arch} in
	um)        # no userspace export
		;;
	cris)      # headers export are known broken
		;;
	*)
		if [ -d ${srctree}/arch/${arch} ]; then
			do_command $1 ${arch}
		fi
		;;
	esac
done


back to top