]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: sunxi: Make sure that GPIOs are requested
authorSimon Glass <sjg@chromium.org>
Fri, 31 Oct 2014 02:25:48 +0000 (20:25 -0600)
committerHans de Goede <hdegoede@redhat.com>
Wed, 5 Nov 2014 12:09:58 +0000 (13:09 +0100)
commite6a8b0dabc8a91f9eda54548e56f54be65a725c4
treebf61e866deaa9b21c4f695d516fec023436218f2
parentbf38891af26c7a5016bdf5b73e8f61f8063e0138
dm: sunxi: Make sure that GPIOs are requested

The scsi_init() function uses a GPIO so should request it. There is no
way to return an error here, and the request may be made multiple times,
so just ignore errors for now.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
board/sunxi/ahci.c