diff --git a/.gitmodules b/.gitmodules index aa18025fc374..a8f05e704a0a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "drivers/lego"] path = drivers/lego - url = https://github.com/ev3dev/lego-linux-drivers + url = https://github.com/project516/lego-linux-drivers diff --git a/arch/arm/mach-davinci/legoev3-fiq.c b/arch/arm/mach-davinci/legoev3-fiq.c index 4414ad2b7996..40146b7b6061 100644 --- a/arch/arm/mach-davinci/legoev3-fiq.c +++ b/arch/arm/mach-davinci/legoev3-fiq.c @@ -864,7 +864,10 @@ static int legoev3_fiq_probe(struct platform_device *pdev) fiq_data->timer_irq = pdata->timer_irq; fiq_data->ehrpwm_irq = pdata->ehrpwm_irq; - ret = gpio_request_one(pdata->status_gpio, GPIOF_INIT_LOW, "fiq status"); + ret = gpio_request(pdata->status_gpio, "fiq status"); + if (!ret) { + ret = gpio_direction_output(pdata->status_gpio, 0); + } if (ret < 0) { if (ret != -EPROBE_DEFER) { dev_err(&pdev->dev, diff --git a/drivers/lego b/drivers/lego index 2e9d81c37bcf..bec2d381b8fb 160000 --- a/drivers/lego +++ b/drivers/lego @@ -1 +1 @@ -Subproject commit 2e9d81c37bcf7c9df237ae8e7bb3fc28d6dc3d2f +Subproject commit bec2d381b8fbceb2c8e59f4234c8066e3d6493e3 diff --git a/scripts/Makefile.package b/scripts/Makefile.package index 74bcb9e7f7a4..dd955bdf6991 100644 --- a/scripts/Makefile.package +++ b/scripts/Makefile.package @@ -123,7 +123,7 @@ bindeb-pkg: private build-type := binary deb-pkg srcdeb-pkg: debian-orig bindeb-pkg: debian deb-pkg srcdeb-pkg bindeb-pkg: - +$(strip dpkg-buildpackage \ + +$(strip dpkg-buildpackage -d \ --build=$(build-type) --no-pre-clean --unsigned-changes \ $(if $(findstring source, $(build-type)), \ --unsigned-source --compression=$(KDEB_SOURCE_COMPRESS)) \