commit | 66a4c0c749cf9b3ce363085709219cc325d2a647 | [log] [tgz] |
---|---|---|
author | Daniel Scheller <d.scheller@gmx.net> | Sun Feb 25 07:31:31 2018 -0500 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Mar 06 10:57:49 2018 -0500 |
tree | f02705ba2520b859417191ca5be36d6557717313 | |
parent | 6795bf6264829b6678f646164d5ab5e335a99fb1 [diff] |
media: ngene: use defines to identify the demod_type Make it more clear which demod_type is used for which hardware by having defines for the possible demod_type values. With that, change the demod_type evaluation in tuner_attach_probe() to a switch-case instead of an if() for each possible value. Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>