]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: drm/ast: Factor mmc_test code in POST code
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 18 Feb 2017 03:19:10 +0000 (14:19 +1100)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 24 Feb 2017 15:11:24 +0000 (09:11 -0600)
commit8ce663bfe60e17e14c0f26cb85609a292c35619c
tree07a2f065a8dc16b737f754845f211caf24714e03
parentb3c8fb53c2d87b895ceb5003d37a9465f5988571
UBUNTU: SAUCE: drm/ast: Factor mmc_test code in POST code

BugLink: http://bugs.launchpad.net/bugs/1667424
There's a some duplication for what's essentially copies of
two loops, so factor it. The upcoming AST2500 POST code adds
more of them. Also cleanup return types for the test functions,
most of them return a boolean, some return a u32.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/gpu/drm/ast/ast_post.c